[Kst] branches/work/kst/portto4/kst/cmake

Peter Kümmel syntheticpp at gmx.net
Wed Feb 2 20:12:43 CET 2011


SVN commit 1218527 by kuemmel:

remove one folder level

 M  +5 -0      CMakeLists.txt  


--- branches/work/kst/portto4/kst/cmake/CMakeLists.txt #1218526:1218527
@@ -197,7 +197,12 @@
 if(WIN32)
 	set(CPACK_GENERATOR NSIS ZIP)
 	set(CPACK_BINARY_ZIP 1)
+	if (kst_install_prefix)
+		set(CPACK_PACKAGE_FILE_NAME ${kst_install_prefix})
+		set(CPACK_NSIS_PACKAGE_NAME ${kst_install_prefix})
+		set(CPACK_INSTALL_PREFIX "")
 endif()
+endif()
 
 set(CPACK_PACKAGE_NAME   Kst)
 set(CPACK_PACKAGE_VENDOR "The Kst Team")


More information about the Kst mailing list