summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2010-02-20 20:40:03 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2010-02-20 20:40:03 +0100
commit740c7cf4fa29ccfce60f6c30dc8a14bd302cfed2 (patch)
treeb6d8d4ef948a9702ac690635ea65ea22abe05f69 /libmysqld
parent5f833a39ed92acaf482d56c3de871ff0115ffcbd (diff)
downloadmariadb-git-740c7cf4fa29ccfce60f6c30dc8a14bd302cfed2.tar.gz
Install static client and embedded debug libraries
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmysqld/CMakeLists.txt b/libmysqld/CMakeLists.txt
index c3386b91f0e..e5f2a8b56f9 100644
--- a/libmysqld/CMakeLists.txt
+++ b/libmysqld/CMakeLists.txt
@@ -126,6 +126,11 @@ ENDFOREACH()
MERGE_LIBRARIES(mysqlserver STATIC ${EMBEDDED_LIBS}
OUTPUT_NAME ${MYSQLSERVER_OUTPUT_NAME})
+# Visual Studio users need debug static library
+IF(MSVC)
+ INSTALL_DEBUG_TARGET(mysqlserver DESTINATION ${INSTALL_LIBDIR}/debug)
+ENDIF()
+
IF(MSVC AND NOT DISABLE_SHARED)
MERGE_LIBRARIES(libmysqld SHARED ${LIBS} EXPORTS ${CLIENT_API_FUNCTIONS})
ENDIF()