summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-06-16 11:34:59 +0200
committerSergei Golubchik <serg@mariadb.org>2017-06-18 21:53:45 +0200
commit48429359d6bb6382245f1949c458f8219996aa4a (patch)
treecc1f1eced4d1ab878923a8559d9a946e7abcdb04 /cmake
parente548e2184bed04478ba1fe5107da817bc768d023 (diff)
downloadmariadb-git-48429359d6bb6382245f1949c458f8219996aa4a.tar.gz
MDEV-4646 No mysqld-debug or debuginfo in MariaDB-Server RPM
Diffstat (limited to 'cmake')
-rw-r--r--cmake/cpack_rpm.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake
index c3ec731144b..4e9410306a8 100644
--- a/cmake/cpack_rpm.cmake
+++ b/cmake/cpack_rpm.cmake
@@ -32,6 +32,7 @@ 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)
ENDIF()
SET(CPACK_RPM_PACKAGE_RELEASE "1%{?dist}")