summaryrefslogtreecommitdiff
path: root/cmake/install_macros.cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2010-11-12 13:42:50 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2010-11-12 13:42:50 +0100
commit36fffdeaa22c7208d3744613a7bd7bbe6e49b394 (patch)
tree2a9de33eb5ae75bb7de7ffa7ac486e42126b9bca /cmake/install_macros.cmake
parent5a8b8b6493b11a07973f5ee16885a9d8b9cbb456 (diff)
downloadmariadb-git-36fffdeaa22c7208d3744613a7bd7bbe6e49b394.tar.gz
Bug#58074: ADD_VERSION_INFO cmake/mysql_version.cmake fails if LINK_FLAGS are modified
Backport version info handling (Windows-specific) from next-mr. Instead of adding ".res" object as linker flag, add resource file (.rc) file to the source list. This is more obvious and less error prone method.
Diffstat (limited to 'cmake/install_macros.cmake')
-rw-r--r--cmake/install_macros.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake
index bc8d9945690..ddfbcd09ce4 100644
--- a/cmake/install_macros.cmake
+++ b/cmake/install_macros.cmake
@@ -224,8 +224,6 @@ FUNCTION(MYSQL_INSTALL_TARGETS)
IF(SIGNCODE AND SIGNCODE_ENABLED)
SIGN_TARGET(${target})
ENDIF()
- # For Windows, add version info to executables
- ADD_VERSION_INFO(${target})
# Install man pages on Unix
IF(UNIX)
GET_TARGET_PROPERTY(target_location ${target} LOCATION)