Skip to content
Snippets Groups Projects
Commit 7e58fecc authored by Jim's avatar Jim
Browse files

Check iosurf dependency in test-input cmake files

parent 95154f33
No related branches found
No related tags found
No related merge requests found
...@@ -6,12 +6,16 @@ if(APPLE) ...@@ -6,12 +6,16 @@ if(APPLE)
set(test-input_PLATFORM_SOURCES set(test-input_PLATFORM_SOURCES
test-desktop.m) test-desktop.m)
set(test-input_PLATFORM_DEPS
${IOSURF})
set_source_files_properties(test-desktop.m set_source_files_properties(test-desktop.m
PROPERTIES LANGUAGE C PROPERTIES LANGUAGE C
COMPILE_FLAGS "-fobjc-arc") COMPILE_FLAGS "-fobjc-arc")
find_library(IOSURF IOSurface)
include_directories(${IOSURF})
mark_as_advanced(${IOSURF})
set(test-input_PLATFORM_DEPS
${IOSURF})
endif() endif()
set(test-input_SOURCES set(test-input_SOURCES
......
#include <obs.h> #include <obs.h>
#include "test-input-exports.h" #include "test-input-exports.h"
const char *inputs[] = {"desktop", "random", "sinewave"}; const char *inputs[] = {
#ifdef __APPLE__
"osx-desktop-test",
#endif
"random",
"sinewave"
};
const char *filters[] = {"test"}; const char *filters[] = {"test"};
uint32_t module_version(uint32_t in_version) uint32_t module_version(uint32_t in_version)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment