summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorSreedhar.S <sreedhar.sreedhargadda@oracle.com>2013-10-09 11:10:46 +0530
committerSreedhar.S <sreedhar.sreedhargadda@oracle.com>2013-10-09 11:10:46 +0530
commitfaca34da04fde2ec0a1836d9c26a787c3af5badd (patch)
tree1ff8d9ce27a6263a4724a46991343eb9bc3253c9 /libmysql
parentc684873118775bcf9b29d55f7d0fdb7954e49c36 (diff)
downloadmariadb-git-faca34da04fde2ec0a1836d9c26a787c3af5badd.tar.gz
Bug 13878021 - WINDOWS PACKAGE THAT INCLUDES .PDB FILES FOR INTERMEDIATE LIBRARIES USED
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/CMakeLists.txt2
-rw-r--r--libmysql/authentication_win/CMakeLists.txt5
2 files changed, 7 insertions, 0 deletions
diff --git a/libmysql/CMakeLists.txt b/libmysql/CMakeLists.txt
index 1d7a134aefa..83386d8073a 100644
--- a/libmysql/CMakeLists.txt
+++ b/libmysql/CMakeLists.txt
@@ -168,8 +168,10 @@ ENDIF()
MERGE_LIBRARIES(mysqlclient STATIC ${LIBS} COMPONENT Development)
# Visual Studio users need debug static library for debug projects
+INSTALL_DEBUG_SYMBOLS(clientlib)
IF(MSVC)
INSTALL_DEBUG_TARGET(mysqlclient DESTINATION ${INSTALL_LIBDIR}/debug)
+ INSTALL_DEBUG_TARGET(clientlib DESTINATION ${INSTALL_LIBDIR}/debug)
ENDIF()
IF(UNIX)
diff --git a/libmysql/authentication_win/CMakeLists.txt b/libmysql/authentication_win/CMakeLists.txt
index 80cd14780e6..cd790975b34 100644
--- a/libmysql/authentication_win/CMakeLists.txt
+++ b/libmysql/authentication_win/CMakeLists.txt
@@ -31,3 +31,8 @@ TARGET_LINK_LIBRARIES(auth_win_client Secur32)
# In IDE, group headers in a separate folder.
SOURCE_GROUP(Headers REGULAR_EXPRESSION ".*h$")
+
+INSTALL_DEBUG_SYMBOLS(auth_win_client)
+IF(MSVC)
+ INSTALL_DEBUG_TARGET(auth_win_client DESTINATION ${INSTALL_LIBDIR}/debug)
+ENDIF()