diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-03-28 17:01:40 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-03-28 17:01:40 +0200 |
commit | 0f51f460347883b71d2502928b8d6a346e8f9f35 (patch) | |
tree | a13d12f3f627df2541433e26203ac537128b7052 /libmysql | |
parent | 90b5afaab63125cf3513635f9d93dcee8bd28ffe (diff) | |
download | mariadb-git-0f51f460347883b71d2502928b8d6a346e8f9f35.tar.gz |
CMake/code signing:
Use MYSQL_INSTALL_TARGETS() macro for DLLs
(libmysql and libmysqld) to ensure that libraries
are signed, if signing is requested.
Diffstat (limited to 'libmysql')
-rwxr-xr-x | libmysql/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libmysql/CMakeLists.txt b/libmysql/CMakeLists.txt index 2c9434b3a15..0d4f6f399af 100755 --- a/libmysql/CMakeLists.txt +++ b/libmysql/CMakeLists.txt @@ -124,8 +124,5 @@ ADD_DEPENDENCIES(libmysql GenError) TARGET_LINK_LIBRARIES(libmysql wsock32) ADD_DEFINITIONS(-DHAVE_DLOPEN) - -INSTALL(TARGETS mysqlclient DESTINATION lib COMPONENT Development) -INSTALL_DEBUG_SYMBOLS(mysqlclient DESTINATION lib) -INSTALL(TARGETS libmysql DESTINATION lib COMPONENT SharedLibraries) -INSTALL_DEBUG_SYMBOLS(libmysql DESTINATION lib) +MYSQL_INSTALL_TARGETS(mysqlclient DESTINATION lib COMPONENT Development) +MYSQL_INSTALL_TARGETS(libmysql DESTINATION lib COMPONENT SharedLibraries) |