mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-03 01:53:35 +00:00
deps,shared,win-capture: Move ipc-util to shared folder
This commit is contained in:
parent
ab05714919
commit
326d5f4e31
1
deps/CMakeLists.txt
vendored
1
deps/CMakeLists.txt
vendored
|
@ -1,5 +1,4 @@
|
|||
if(OS_WINDOWS)
|
||||
add_subdirectory(ipc-util)
|
||||
add_subdirectory(w32-pthreads)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ mark_as_advanced(COMPAT_URL)
|
|||
# cmake-format: on
|
||||
|
||||
if(NOT TARGET OBS::ipc-util)
|
||||
add_subdirectory("${CMAKE_SOURCE_DIR}/deps/ipc-util" "${CMAKE_BINARY_DIR}/deps/ipc-util")
|
||||
add_subdirectory("${CMAKE_SOURCE_DIR}/shared/ipc-util" "${CMAKE_BINARY_DIR}/shared/ipc-util")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET OBS::file-updater)
|
||||
|
|
|
@ -13,6 +13,10 @@ add_library(OBS::capture ALIAS win-capture)
|
|||
|
||||
find_package(Jansson 2.5 REQUIRED)
|
||||
|
||||
if(NOT TARGET OBS::ipc-util)
|
||||
add_subdirectory("${CMAKE_SOURCE_DIR}/shared/ipc-util" "${CMAKE_BINARY_DIR}/shared/ipc-util")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET OBS::file-updater)
|
||||
add_subdirectory("${CMAKE_SOURCE_DIR}/shared/file-updater" "${CMAKE_BINARY_DIR}/shared/file-updater")
|
||||
endif()
|
||||
|
|
|
@ -4,7 +4,7 @@ find_package(Detours REQUIRED)
|
|||
find_package(Vulkan REQUIRED)
|
||||
|
||||
if(NOT TARGET OBS::ipc-util)
|
||||
add_subdirectory("${CMAKE_SOURCE_DIR}/deps/ipc-util" "${CMAKE_BINARY_DIR}/deps/ipc-util")
|
||||
add_subdirectory("${CMAKE_SOURCE_DIR}/shared/ipc-util" "${CMAKE_BINARY_DIR}/shared/ipc-util")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET OBS::obfuscate)
|
||||
|
|
|
@ -6,6 +6,10 @@ find_package(Vulkan REQUIRED)
|
|||
add_library(graphics-hook MODULE)
|
||||
add_library(OBS::graphics-hook ALIAS graphics-hook)
|
||||
|
||||
if(NOT TARGET OBS::ipc-util)
|
||||
add_subdirectory("${CMAKE_SOURCE_DIR}/shared/ipc-util" "${CMAKE_BINARY_DIR}/shared/ipc-util")
|
||||
endif()
|
||||
|
||||
target_sources(
|
||||
graphics-hook
|
||||
PRIVATE graphics-hook.c
|
||||
|
|
Loading…
Reference in a new issue