summaryrefslogtreecommitdiffstats
path: root/unityplugin/GhostCubeScene
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-02-03 20:51:11 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-02-03 20:51:11 +0000
commitafe52947d057ab33af8914d712bb4bbac785446a (patch)
treec12b9881609c3d6cbc56b47da6d213eec3fc9c41 /unityplugin/GhostCubeScene
parentAdded DG icon to MacOS bundles (diff)
downloadDiligentEngine-afe52947d057ab33af8914d712bb4bbac785446a.tar.gz
DiligentEngine-afe52947d057ab33af8914d712bb4bbac785446a.zip
Enabled IOS build
Diffstat (limited to 'unityplugin/GhostCubeScene')
-rw-r--r--unityplugin/GhostCubeScene/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
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()