summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackOSXX11Generator.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2007-10-31 12:50:17 (GMT)
committerDavid Cole <david.cole@kitware.com>2007-10-31 12:50:17 (GMT)
commit5beb1da7f741c50659204cf1fbd264b5dcb7dd02 (patch)
tree3f380217cabb03a40aac217a2cde19346bb05ab9 /Source/CPack/cmCPackOSXX11Generator.h
parent0386e711b8de89051bf1e1fdb178c0ab7a28132b (diff)
downloadCMake-5beb1da7f741c50659204cf1fbd264b5dcb7dd02.zip
CMake-5beb1da7f741c50659204cf1fbd264b5dcb7dd02.tar.gz
CMake-5beb1da7f741c50659204cf1fbd264b5dcb7dd02.tar.bz2
ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files in absolute locations. With this setting on, cpack will set the DESTDIR env var when building the package so that files end up in their intended locations. Default behavior is not to set DESTDIR for backwards compatibility. Helps address issue #4993 and issue #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the CPack GetPackagingInstallPrefix from a project's CMakeLists file if necessary. Could be used to remove the annoying /usr prefix still used by default in the Mac PackageMaker generator.
Diffstat (limited to 'Source/CPack/cmCPackOSXX11Generator.h')
-rw-r--r--Source/CPack/cmCPackOSXX11Generator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackOSXX11Generator.h b/Source/CPack/cmCPackOSXX11Generator.h
index 8d9fef5..c4c5ae9 100644
--- a/Source/CPack/cmCPackOSXX11Generator.h
+++ b/Source/CPack/cmCPackOSXX11Generator.h
@@ -40,7 +40,7 @@ protected:
virtual int InitializeInternal();
int CompressFiles(const char* outFileName, const char* toplevel,
const std::vector<std::string>& files);
- virtual const char* GetInstallPrefix();
+ virtual const char* GetPackagingInstallPrefix();
virtual const char* GetOutputExtension() { return ".dmg"; }
//bool CopyCreateResourceFile(const char* name, const char* dir);