chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b08173
)
CMake: Set CPACK variables in cache
author
Julien Schueller
<schueller@phimeca.com>
Mon, 24 Dec 2018 15:21:35 +0000
(16:21 +0100)
committer
Julien Schueller
<schueller@phimeca.com>
Mon, 24 Dec 2018 15:21:35 +0000
(16:21 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 321f2a4ed66e75d779cbc1849d18aafc0355b8ab..0e40a8b1e244656172bbaeb9d969cfe28ee5fc1c 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-340,10
+340,10
@@
set (CPACK_PACKAGE_VERSION_MAJOR "${NLOPT_MAJOR_VERSION}")
set (CPACK_PACKAGE_VERSION_MINOR "${NLOPT_MINOR_VERSION}")
set (CPACK_PACKAGE_VERSION_PATCH "${NLOPT_BUGFIX_VERSION}")
set (CPACK_SOURCE_GENERATOR "TBZ2;TGZ" )
set (CPACK_PACKAGE_VERSION_MINOR "${NLOPT_MINOR_VERSION}")
set (CPACK_PACKAGE_VERSION_PATCH "${NLOPT_BUGFIX_VERSION}")
set (CPACK_SOURCE_GENERATOR "TBZ2;TGZ" )
-set (CPACK_BINARY_STGZ
"OFF"
)
-set (CPACK_BINARY_TBZ2
"ON"
)
-set (CPACK_BINARY_TGZ
"ON"
)
-set (CPACK_BINARY_TZ
"OFF"
)
+set (CPACK_BINARY_STGZ
OFF CACHE BOOL "STGZ"
)
+set (CPACK_BINARY_TBZ2
ON CACHE BOOL "TBZ2"
)
+set (CPACK_BINARY_TGZ
ON CACHE BOOL "TGZ"
)
+set (CPACK_BINARY_TZ
OFF CACHE BOOL "TZ"
)
set (CPACK_SOURCE_IGNORE_FILES ".git;/build;.*~;${CPACK_SOURCE_IGNORE_FILES}")
set (CPACK_SOURCE_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-${NLOPT_VERSION_STRING})
set (CPACK_SOURCE_IGNORE_FILES ".git;/build;.*~;${CPACK_SOURCE_IGNORE_FILES}")
set (CPACK_SOURCE_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-${NLOPT_VERSION_STRING})