summaryrefslogtreecommitdiffstats
path: root/Modules/CPack.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-08 15:33:42 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-08 15:33:42 (GMT)
commit7432ef206e47118d8812be5dc62c7250c9e0bfdd (patch)
treed103f0a5fa3a97c614d1876b494e0515507a3b8b /Modules/CPack.cmake
parentb34078bca98a052907bb1198e2301d1223b3aae0 (diff)
downloadCMake-7432ef206e47118d8812be5dc62c7250c9e0bfdd.zip
CMake-7432ef206e47118d8812be5dc62c7250c9e0bfdd.tar.gz
CMake-7432ef206e47118d8812be5dc62c7250c9e0bfdd.tar.bz2
ENH: add empty RPM package generator, Eric Noulard wants to work on it
Alex
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r--Modules/CPack.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index ac9be77..1e05036 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -115,6 +115,7 @@ if(NOT CPACK_GENERATOR)
option(CPACK_TGZ "Enable to build TGZ packages" ON)
option(CPACK_TBZ2 "Enable to build TBZ2 packages" ON)
option(CPACK_DEB "Enable to build Debian packages" OFF)
+ option(CPACK_RPM "Enable to build RPM packages" OFF)
option(CPACK_NSIS "Enable to build NSIS packages" OFF)
endif(CYGWIN)
else(UNIX)
@@ -126,6 +127,7 @@ if(NOT CPACK_GENERATOR)
cpack_optional_append(CPACK_GENERATOR CPACK_OSXX11 OSXX11)
cpack_optional_append(CPACK_GENERATOR CPACK_CYGWIN_BINARY CygwinBinary)
cpack_optional_append(CPACK_GENERATOR CPACK_DEB DEB)
+ cpack_optional_append(CPACK_GENERATOR CPACK_RPM RPM)
cpack_optional_append(CPACK_GENERATOR CPACK_NSIS NSIS)
cpack_optional_append(CPACK_GENERATOR CPACK_STGZ STGZ)
cpack_optional_append(CPACK_GENERATOR CPACK_TGZ TGZ)