mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
cmake: pass CMAKE_BUILD_TYPE into src.rpm
and don't pass BUILD_CONFIG twice, once is enough.
This commit is contained in:
parent
7362f11554
commit
725579c0f4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue