summaryrefslogtreecommitdiffstats
path: root/unityplugin/GhostCubeScene
diff options
context:
space:
mode:
authorEgor <egor.yusov@gmail.com>2018-02-10 19:56:36 +0000
committerEgor <egor.yusov@gmail.com>2018-02-10 19:56:36 +0000
commitd823930b20c37f92073791e18f9e6a744dc34d51 (patch)
tree25d8dda1c46a05cd651af4818dd2ba20e44f47eb /unityplugin/GhostCubeScene
parentReworked win32 and uwp cmake build rules (diff)
downloadDiligentEngine-d823930b20c37f92073791e18f9e6a744dc34d51.tar.gz
DiligentEngine-d823930b20c37f92073791e18f9e6a744dc34d51.zip
Fixed linux build
Diffstat (limited to 'unityplugin/GhostCubeScene')
-rw-r--r--unityplugin/GhostCubeScene/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/unityplugin/GhostCubeScene/CMakeLists.txt b/unityplugin/GhostCubeScene/CMakeLists.txt
index 3249a54..51b0b23 100644
--- a/unityplugin/GhostCubeScene/CMakeLists.txt
+++ b/unityplugin/GhostCubeScene/CMakeLists.txt
@@ -83,7 +83,7 @@ elseif(PLATFORM_ANDROID)
elseif(PLATFORM_LINUX)
list(APPEND SOURCE src/LoadPluginFunctions.cpp)
- add_executable(GhostCubeScene ${SOURCE} ${INCLUDE} ${ASSETS})
+ add_linux_app(GhostCubeScene "${SOURCE}" "${INCLUDE}" "${ASSETS}")
elseif(PLATFORM_MACOS)
list(APPEND SOURCE src/LoadPluginFunctions.cpp)
@@ -129,6 +129,7 @@ PRIVATE
target_link_libraries(GhostCubeScene
PRIVATE
BuildSettings
+ NativeAppBase
UnityEmulator
TargetPlatform
)