summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Adamansky <adamansky@gmail.com>2015-05-19 00:09:06 +0600
committerAnton Adamansky <adamansky@gmail.com>2015-05-19 00:09:06 +0600
commitfab893e5bedb396f59d27d53000e0145e661af54 (patch)
treea3714b6f5e0876074f0c5831b0c7562095faae72
parent78c796867f6076b7e5575b0c0d7a7c2b9bab69fc (diff)
downloadejdb-fab893e5bedb396f59d27d53000e0145e661af54.tar.gz
ejdb-fab893e5bedb396f59d27d53000e0145e661af54.tar.bz2
ejdb-fab893e5bedb396f59d27d53000e0145e661af54.zip
Added -DPACKAGE_ZIP cmake option
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6eb5a9c..60b7fb9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,6 +32,7 @@ option(BUILD_TESTS "Build test cases" OFF)
option(BUILD_SAMPLES "Build ejdb sample projects" OFF)
option(PACKAGE_DEB "Build .deb instalation packages" OFF)
option(PACKAGE_TGZ "Build .tgz package archive" ON)
+option(PACKAGE_ZIP "Build .zip package archive" ON)
option(ENABLE_PPA "Enable PPA package build" OFF)
option(UPLOAD_PPA "Upload debian packages to the launchpad ppa repository" OFF)
option(PPA_DEBIAN_VERSION "PPA version suffix for debian packages" "ppa1")
@@ -72,6 +73,9 @@ set(CPACK_GENERATORS)
if (PACKAGE_TGZ)
list(APPEND CPACK_GENERATORS "TGZ")
endif()
+if (PACKAGE_ZIP)
+ list(APPEND CPACK_GENERATORS "ZIP")
+endif()
if (PACKAGE_DEB)
list(APPEND CPACK_GENERATORS "DEB")
endif()