stripping
authorkoda
Sat, 09 Mar 2013 00:43:26 +0100
changeset 8701 b99c49f78f56
parent 8700 7e84ea0d9cef
child 8702 a28966180a29
stripping
cmake_modules/CPackConfig.cmake
--- a/cmake_modules/CPackConfig.cmake	Sat Mar 09 00:41:08 2013 +0100
+++ b/cmake_modules/CPackConfig.cmake	Sat Mar 09 00:43:26 2013 +0100
@@ -15,6 +15,7 @@
 set(CPACK_PACKAGE_EXECUTABLES "hedgewars" "Hedgewars")
 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
 set(CPACK_PACKAGE_INSTALL_DIRECTORY "Hedgewars ${full_suffix}")
+set(CPACK_STRIP_FILES true)
 
 if(WIN32 AND NOT UNIX)
     set(CPACK_NSIS_DISPLAY_NAME "Hedgewars")
@@ -25,8 +26,6 @@
     set(CPACK_NSIS_EXECUTABLES_DIRECTORY "${target_binary_install_dir}")
     set(CPACK_GENERATOR "ZIP;NSIS")
     set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "hedgewars")
-else(WIN32 AND NOT UNIX)
-    set(CPACK_STRIP_FILES "bin/hedgewars;bin/hwengine")
 endif(WIN32 AND NOT UNIX)
 
 set(CPACK_SOURCE_IGNORE_FILES