yolobs-studio/test/osx/CMakeLists.txt
2020-10-01 22:15:25 +02:00

19 lines
395 B
CMake

project(osx-text)
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs")
find_library(COCOA Cocoa)
include_directories(${COCOA})
add_definitions(-fobjc-arc)
set(osx-test_SOURCES
test.mm)
add_executable(osx_test
${osx-test_SOURCES})
set_target_properties(osx_test PROPERTIES FOLDER "tests and examples")
target_link_libraries(osx_test
libobs
${COCOA})
define_graphic_modules(osx_test)