From afe52947d057ab33af8914d712bb4bbac785446a Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 3 Feb 2018 12:51:11 -0800 Subject: Enabled IOS build --- unityplugin/GhostCubeScene/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'unityplugin/GhostCubeScene') diff --git a/unityplugin/GhostCubeScene/CMakeLists.txt b/unityplugin/GhostCubeScene/CMakeLists.txt index 4372595..a46e60b 100644 --- a/unityplugin/GhostCubeScene/CMakeLists.txt +++ b/unityplugin/GhostCubeScene/CMakeLists.txt @@ -107,6 +107,11 @@ elseif(PLATFORM_MACOS) message(FATAL_ERROR "CoreVideo not found") endif() target_link_libraries(GhostCubeScene PRIVATE ${OPENGL_LIBRARY} ${CORE_VIDEO}) +elseif(PLATFORM_IOS) + list(APPEND SOURCE src/LoadPluginFunctions.cpp) + #get_emulator_ios_source(IOS_SOURCE IOS_INCLUDE IOS_RESOURCES IOS_INFO_PLIST IOS_INCLUDE_DIRS) + add_executable(GhostCubeScene MACOSX_BUNDLE ${SOURCE} ${IOS_SOURCE} ${INCLUDE} ${IOS_INCLUDE} ${ASSETS} ${SHADERS} ${IOS_RESOURCES}) + else() message(FATAL_ERROR "Unknown platform") endif() -- cgit v1.2.3