diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2014-05-15 19:12:40 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-05-28 12:28:18 -0400 |
commit | 15a8af21e8bd8354dfff2063e01f695f85efdeb8 (patch) | |
tree | b7d98cab3ba63f61074a4f63a250934f0294826a /Templates/CPackConfig.cmake.in | |
parent | 032961c6ac81d82270a7b1986935111aa5e32a56 (diff) | |
download | cmake-15a8af21e8bd8354dfff2063e01f695f85efdeb8.tar.gz |
Add an "installed file" property scope
Teach set_property and get_property an "INSTALL" property type to be
associated with install-tree file paths. Make the properties available
to CPack for use during packaging. Add a "prop_inst" Sphinx domain
object type for documentation of such properties.
Diffstat (limited to 'Templates/CPackConfig.cmake.in')
-rw-r--r-- | Templates/CPackConfig.cmake.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Templates/CPackConfig.cmake.in b/Templates/CPackConfig.cmake.in index 79b8d93ae8..c00ea2a059 100644 --- a/Templates/CPackConfig.cmake.in +++ b/Templates/CPackConfig.cmake.in @@ -10,3 +10,11 @@ # usually begin with CPACK_<GENNAME>_xxxx. @_CPACK_OTHER_VARIABLES_@ + +if(NOT CPACK_PROPERTIES_FILE) + set(CPACK_PROPERTIES_FILE "@CMAKE_BINARY_DIR@/CPackProperties.cmake") +endif() + +if(EXISTS ${CPACK_PROPERTIES_FILE}) + include(${CPACK_PROPERTIES_FILE}) +endif() |