diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-04-08 23:22:45 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-04-09 11:47:27 +0300 |
commit | 725579c0f47f424578520c7252680c53ed1583eb (patch) | |
tree | b3960185001419e687f7c6b3fda4d8b36555ac41 /cmake | |
parent | 7362f115543d34b1d3f06e61be9235b30c0abc8a (diff) | |
download | mariadb-git-725579c0f47f424578520c7252680c53ed1583eb.tar.gz |
cmake: pass CMAKE_BUILD_TYPE into src.rpm
and don't pass BUILD_CONFIG twice, once is enough.
Diffstat (limited to '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 4edcf8eee5d..22ff190517a 100644 --- a/cmake/cpack_rpm.cmake +++ b/cmake/cpack_rpm.cmake @@ -282,7 +282,6 @@ IF(CMAKE_VERSION VERSION_GREATER "3.9.99") SET(CPACK_SOURCE_GENERATOR "RPM") SETA(CPACK_RPM_SOURCE_PKG_BUILD_PARAMS - "-DBUILD_CONFIG=mysql_release" "-DRPM=${RPM}" "-DCPACK_RPM_BUILD_SOURCE_DIRS_PREFIX=/usr/src/debug/${CPACK_RPM_PACKAGE_NAME}-${VERSION}" ) @@ -293,6 +292,7 @@ MACRO(ADDIF var) ENDIF() ENDMACRO() +ADDIF(CMAKE_BUILD_TYPE) ADDIF(BUILD_CONFIG) ADDIF(WITH_SSL) |