diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-02-20 20:40:03 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-02-20 20:40:03 +0100 |
commit | 740c7cf4fa29ccfce60f6c30dc8a14bd302cfed2 (patch) | |
tree | b6d8d4ef948a9702ac690635ea65ea22abe05f69 /libmysql | |
parent | 5f833a39ed92acaf482d56c3de871ff0115ffcbd (diff) | |
download | mariadb-git-740c7cf4fa29ccfce60f6c30dc8a14bd302cfed2.tar.gz |
Install static client and embedded debug libraries
Diffstat (limited to 'libmysql')
-rwxr-xr-x | libmysql/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmysql/CMakeLists.txt b/libmysql/CMakeLists.txt index acdff87f4a0..f9fc5355641 100755 --- a/libmysql/CMakeLists.txt +++ b/libmysql/CMakeLists.txt @@ -157,6 +157,11 @@ IF(UNIX) INSTALL_SYMLINK(${CMAKE_STATIC_LIBRARY_PREFIX}mysqlclient_r mysqlclient ${INSTALL_LIBDIR}) ENDIF() +# Visual Studio users need debug static library for debug projects +IF(MSVC) + INSTALL_DEBUG_TARGET(mysqlclient DESTINATION ${INSTALL_LIBDIR}/debug) +ENDIF() + IF(NOT DISABLE_SHARED) MERGE_LIBRARIES(libmysql SHARED ${LIBS} EXPORTS ${CLIENT_API_FUNCTIONS}) IF(UNIX) |