diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-09-06 16:57:54 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-09-06 16:58:39 +0200 |
commit | f80e02e043103ab4e6ca12d9efffec6eb9aa3b74 (patch) | |
tree | f0ab69f11d47bc99139216e839c54c7b29711146 /cmake/cpack_rpm.cmake | |
parent | 2842c369851a8afc2a944ce6f4f60fa052f20969 (diff) | |
parent | 39e5b76ef1e68c0aed0b0f6941d517a986fe8821 (diff) | |
download | mariadb-git-f80e02e043103ab4e6ca12d9efffec6eb9aa3b74.tar.gz |
Merge branch '10.2' into 10.3
Diffstat (limited to 'cmake/cpack_rpm.cmake')
-rw-r--r-- | cmake/cpack_rpm.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake index 696d55cea69..2d1103ce31c 100644 --- a/cmake/cpack_rpm.cmake +++ b/cmake/cpack_rpm.cmake @@ -39,6 +39,7 @@ ELSE() SET(CPACK_RPM_FILE_NAME "RPM-DEFAULT") OPTION(CPACK_RPM_DEBUGINFO_PACKAGE "" ON) MARK_AS_ADVANCED(CPACK_RPM_DEBUGINFO_PACKAGE) + SET(CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX "/usr/src/debug/${CPACK_RPM_PACKAGE_NAME}-${VERSION}") ENDIF() SET(CPACK_RPM_PACKAGE_RELEASE "1%{?dist}") @@ -270,7 +271,6 @@ IF(CMAKE_VERSION VERSION_GREATER "3.9.99") SET(CPACK_SOURCE_GENERATOR "RPM") SETA(CPACK_RPM_SOURCE_PKG_BUILD_PARAMS "-DRPM=${RPM}" - "-DCPACK_RPM_BUILD_SOURCE_DIRS_PREFIX=/usr/src/debug/${CPACK_RPM_PACKAGE_NAME}-${VERSION}" ) MACRO(ADDIF var) |