summaryrefslogtreecommitdiff
path: root/mysys
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 /mysys
parentc684873118775bcf9b29d55f7d0fdb7954e49c36 (diff)
downloadmariadb-git-faca34da04fde2ec0a1836d9c26a787c3af5badd.tar.gz
Bug 13878021 - WINDOWS PACKAGE THAT INCLUDES .PDB FILES FOR INTERMEDIATE LIBRARIES USED
Diffstat (limited to 'mysys')
-rw-r--r--mysys/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysys/CMakeLists.txt b/mysys/CMakeLists.txt
index 95d3e568be7..648a87d1e95 100644
--- a/mysys/CMakeLists.txt
+++ b/mysys/CMakeLists.txt
@@ -77,3 +77,8 @@ ENDIF()
ADD_EXECUTABLE(thr_lock thr_lock.c)
TARGET_LINK_LIBRARIES(thr_lock mysys)
SET_TARGET_PROPERTIES(thr_lock PROPERTIES COMPILE_FLAGS "-DMAIN")
+
+INSTALL_DEBUG_SYMBOLS(mysys)
+IF(MSVC)
+ INSTALL_DEBUG_TARGET(mysys DESTINATION ${INSTALL_LIBDIR}/debug)
+ENDIF()