[cmake-commits] david.cole committed CMakeCPackOptions.cmake.in 1.2
1.3
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Dec 26 16:57:15 EST 2007
Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv24189
Modified Files:
CMakeCPackOptions.cmake.in
Log Message:
ENH: Give Mac installers package relocation capability. Default location is still the same for backwards compatibility, but packages will now be relocatable by default like they are on Windows via the NSIS installer. New CPack variables for controlling this functionality are CPACK_PACKAGE_DEFAULT_LOCATION and CPACK_PACKAGE_RELOCATABLE.
Index: CMakeCPackOptions.cmake.in
===================================================================
RCS file: /cvsroot/CMake/CMake/CMakeCPackOptions.cmake.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CMakeCPackOptions.cmake.in 7 Nov 2007 18:11:58 -0000 1.2
+++ CMakeCPackOptions.cmake.in 26 Dec 2007 21:57:13 -0000 1.3
@@ -34,3 +34,7 @@
SET(CPACK_SOURCE_IGNORE_FILES
"/CVS/" "/\\.build/" "/\\.svn/" "\\.swp$" "\\.#" "/#" "~$")
endif(CPACK_GENERATOR MATCHES "CygwinSource")
+
+if("${CPACK_GENERATOR}" STREQUAL "PackageMaker")
+ SET(CPACK_PACKAGING_INSTALL_PREFIX "/usr")
+endif("${CPACK_GENERATOR}" STREQUAL "PackageMaker")
More information about the Cmake-commits
mailing list