summaryrefslogtreecommitdiff
path: root/cmake/cpack_rpm.cmake
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-08-28 15:23:21 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-08-28 15:23:21 +0300
commit5f35e103ee667b8596efbd138819af8dedd93ed5 (patch)
treec01e53829e93076958e2c5f625b5bc34f33c12b3 /cmake/cpack_rpm.cmake
parent9cd6e7ad73554be6d0186a42f983777a90a984f1 (diff)
parent4ba20e0a14b9134a7e71aa4b592522967456317c (diff)
downloadmariadb-git-5f35e103ee667b8596efbd138819af8dedd93ed5.tar.gz
Merge 10.1 into 10.2
Diffstat (limited to 'cmake/cpack_rpm.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 4c72ac69d1a..dda9fd1b25e 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}")