diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-02-03 20:51:11 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-02-03 20:51:11 +0000 |
| commit | afe52947d057ab33af8914d712bb4bbac785446a (patch) | |
| tree | c12b9881609c3d6cbc56b47da6d213eec3fc9c41 /unityplugin/GhostCubeScene | |
| parent | Added DG icon to MacOS bundles (diff) | |
| download | DiligentEngine-afe52947d057ab33af8914d712bb4bbac785446a.tar.gz DiligentEngine-afe52947d057ab33af8914d712bb4bbac785446a.zip | |
Enabled IOS build
Diffstat (limited to 'unityplugin/GhostCubeScene')
| -rw-r--r-- | unityplugin/GhostCubeScene/CMakeLists.txt | 5 |
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() |
