From 4181dd04a310156555c68af1c7be31a8d7b58d65 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 14 Dec 2017 22:37:34 -0800 Subject: CMake: enabled resource processing for UnityPlugin in UWP build --- unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'unityplugin/GhostCubePlugin/PluginSource') diff --git a/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt b/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt index 4ead45b..a53e928 100644 --- a/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt +++ b/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt @@ -39,14 +39,6 @@ add_library(GhostCubePlugin-shared SHARED ${SOURCE} ${INCLUDE} ${UNITY_INTERFACES} ) -if(PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS) - if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") - set(ARCH 64) - else("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") - set(ARCH 32) - endif("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") -endif() - set(DLL_REL_SUFFIX _${ARCH}r) set(DLL_DBG_SUFFIX _${ARCH}d) @@ -57,7 +49,7 @@ set_target_properties(GhostCubePlugin-shared PROPERTIES OUTPUT_NAME_MINSIZEREL GhostCubePlugin${DLL_REL_SUFFIX} ) -if(PLATFORM_WIN32) +if(PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS) target_sources(GhostCubePlugin-shared PRIVATE src/RenderingPlugin.def -- cgit v1.2.3