diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-09-06 20:12:11 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-09-06 20:12:11 +0200 |
commit | 8885e7ba7814b5721bcf1a6c5241aea815a80eb9 (patch) | |
tree | f538c222b9a5f81fd0ebb77240f75eaa0a0e976a /cmake/cpack_rpm.cmake | |
parent | 38e21c700049227098bf2c69d669980775f63a44 (diff) | |
parent | f80e02e043103ab4e6ca12d9efffec6eb9aa3b74 (diff) | |
download | mariadb-git-8885e7ba7814b5721bcf1a6c5241aea815a80eb9.tar.gz |
Merge branch '10.3' into 10.4
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 4c8835f8c08..f001ff11387 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) |