summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-07-14 12:17:32 +0200
committerSergei Golubchik <serg@mariadb.org>2019-08-20 15:38:58 +0200
commit62cc991bc880307447bdfa6d27aaa3a8f89de3f6 (patch)
tree093556db30780c5c32ebd95c782f92b72e98b1af /cmake
parentbc89b1c5582ac4044317a84e8a73d97fd1db9041 (diff)
downloadmariadb-git-62cc991bc880307447bdfa6d27aaa3a8f89de3f6.tar.gz
really make CPACK_RPM_DEBUGINFO_PACKAGE configurable
Diffstat (limited to 'cmake')
-rw-r--r--cmake/cpack_rpm.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake
index 534af081d93..ae9e3b904b3 100644
--- a/cmake/cpack_rpm.cmake
+++ b/cmake/cpack_rpm.cmake
@@ -37,7 +37,8 @@ IF(CMAKE_VERSION VERSION_LESS "3.6.0")
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_RPM_PACKAGE_NAME}-${VERSION}-${RPM}-${CMAKE_SYSTEM_PROCESSOR}")
ELSE()
SET(CPACK_RPM_FILE_NAME "RPM-DEFAULT")
- SET(CPACK_RPM_DEBUGINFO_PACKAGE ON CACHE INTERNAL "")
+ OPTION(CPACK_RPM_DEBUGINFO_PACKAGE "" ON)
+ MARK_AS_ADVANCED(CPACK_RPM_DEBUGINFO_PACKAGE)
ENDIF()
SET(CPACK_RPM_PACKAGE_RELEASE "1%{?dist}")