From e7501a4957d99b7cf2e6184092da101ead6ca3df Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 5 Mar 2018 08:35:23 -0800 Subject: Enabled build customization --- unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'unityplugin/GhostCubePlugin/PluginSource') diff --git a/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt b/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt index 29eeed4..d7388ad 100644 --- a/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt +++ b/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt @@ -43,12 +43,8 @@ if(PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS) set(DLL_REL_SUFFIX _${ARCH}r) set(DLL_DBG_SUFFIX _${ARCH}d) - set_target_properties(GhostCubePlugin-shared PROPERTIES - OUTPUT_NAME_DEBUG GhostCubePlugin${DLL_DBG_SUFFIX} - OUTPUT_NAME_RELEASE GhostCubePlugin${DLL_REL_SUFFIX} - OUTPUT_NAME_RELWITHDEBINFO GhostCubePlugin${DLL_REL_SUFFIX} - OUTPUT_NAME_MINSIZEREL GhostCubePlugin${DLL_REL_SUFFIX} - ) + set_dll_output_name(GhostCubePlugin-shared GhostCubePlugin) + else() set_target_properties(GhostCubePlugin-shared PROPERTIES OUTPUT_NAME GhostCubePlugin -- cgit v1.2.3