From d823930b20c37f92073791e18f9e6a744dc34d51 Mon Sep 17 00:00:00 2001 From: Egor Date: Sat, 10 Feb 2018 11:56:36 -0800 Subject: Fixed linux build --- unityplugin/GhostCubeScene/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'unityplugin/GhostCubeScene') 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 ) -- cgit v1.2.3