mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
db895092ed
New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or greater, old functionality remains unchanged.
10 lines
307 B
CMake
10 lines
307 B
CMake
project(graphics-hook)
|
|
|
|
if(NOT TARGET OBS::obfuscate)
|
|
add_subdirectory("${CMAKE_SOURCE_DIR}/libobs" "${CMAKE_BINARY_DIR}/libobs")
|
|
endif()
|
|
|
|
add_library(graphics-hook MODULE)
|
|
target_link_libraries(graphics-hook PRIVATE _graphics-hook)
|
|
set_property(TARGET graphics-hook PROPERTY OUTPUT_NAME graphics-hook32)
|