mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
Check iosurf dependency in test-input cmake files
This commit is contained in:
parent
95154f33c8
commit
7e58fecc86
|
@ -6,12 +6,16 @@ if(APPLE)
|
|||
set(test-input_PLATFORM_SOURCES
|
||||
test-desktop.m)
|
||||
|
||||
set(test-input_PLATFORM_DEPS
|
||||
${IOSURF})
|
||||
|
||||
set_source_files_properties(test-desktop.m
|
||||
PROPERTIES LANGUAGE C
|
||||
COMPILE_FLAGS "-fobjc-arc")
|
||||
|
||||
find_library(IOSURF IOSurface)
|
||||
include_directories(${IOSURF})
|
||||
mark_as_advanced(${IOSURF})
|
||||
|
||||
set(test-input_PLATFORM_DEPS
|
||||
${IOSURF})
|
||||
endif()
|
||||
|
||||
set(test-input_SOURCES
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
#include <obs.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"};
|
||||
|
||||
uint32_t module_version(uint32_t in_version)
|
||||
|
|
Loading…
Reference in a new issue