mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 22:55:32 +02:00
Fix a couple fo things replated to MSI
This commit is contained in:
parent
900317e6bd
commit
f68e8aa860
10 changed files with 245 additions and 50 deletions
|
|
@ -35,7 +35,12 @@ MACRO (INSTALL_DEBUG_SYMBOLS targets)
|
|||
IF(CMAKE_GENERATOR MATCHES "Visual Studio")
|
||||
STRING(REPLACE "${CMAKE_CFG_INTDIR}" "\${CMAKE_INSTALL_CONFIG_NAME}" pdb_location ${pdb_location})
|
||||
ENDIF()
|
||||
INSTALL(FILES ${pdb_location} DESTINATION ${INSTALL_LOCATION})
|
||||
IF(target STREQUAL "mysqld")
|
||||
SET(comp Server)
|
||||
ELSE()
|
||||
SET(comp Debuginfo)
|
||||
ENDIF()
|
||||
INSTALL(FILES ${pdb_location} DESTINATION ${INSTALL_LOCATION} COMPONENT ${comp})
|
||||
ENDFOREACH()
|
||||
ENDIF()
|
||||
ENDMACRO()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue