obs-studio/test/osx/CMakeLists.txt
PatTheMav c993b6059a
CI: Update build scripts and Github actions workflow
Also updates main CMakeLists.txt and CMakeLists.txt for unit tests,
also adds additional build directories to .gitignore file
2022-03-16 23:13:26 +01:00

19 lines
426 B
CMake

project(osx-text)
find_library(COCOA Cocoa)
mark_as_advanced(COCOA)
add_executable(macOS_test)
target_sources(macOS_test PRIVATE test.mm)
target_link_libraries(macOS_test PRIVATE OBS::libobs ${COCOA})
target_compile_options(macOS_test PRIVATE -fobjc-arc)
target_compile_features(macOS_test PRIVATE cxx_std_11)
set_target_properties(macOS_test PROPERTIES FOLDER "tests and examples")
define_graphic_modules(macOS_test)