diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-02-16 16:06:57 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-02-16 16:06:57 +0100 |
commit | 7e01172ce3737d5ab621c3f4ffd06af00b416df8 (patch) | |
tree | 7c36e5a5a382639f885c367f980bd3ff5ca59854 /cmake | |
parent | 80536ba7bd8d6be9f5ddd1de9e025270a322a70e (diff) | |
download | mariadb-git-7e01172ce3737d5ab621c3f4ffd06af00b416df8.tar.gz |
Fix a couple fo things replated to MSI
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/install_macros.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake index 5b20c1966be..26e0d9581ac 100644 --- a/cmake/install_macros.cmake +++ b/cmake/install_macros.cmake @@ -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() |