summaryrefslogtreecommitdiff
path: root/cmake/install_macros.cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2009-12-16 02:51:13 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2009-12-16 02:51:13 +0100
commit37b1efb9479aa10e20ede635d147d8cb53dc251d (patch)
treea83f094aaac4edd860cac562b98d08edd6a90136 /cmake/install_macros.cmake
parent9051d1c0dfd574e4773f759dc813648b9298a44b (diff)
downloadmariadb-git-37b1efb9479aa10e20ede635d147d8cb53dc251d.tar.gz
Add version resource to windows executables
Diffstat (limited to 'cmake/install_macros.cmake')
-rw-r--r--cmake/install_macros.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake
index f840884c1e5..1cda14f8661 100644
--- a/cmake/install_macros.cmake
+++ b/cmake/install_macros.cmake
@@ -134,6 +134,12 @@ FUNCTION(MYSQL_INSTALL_TARGETS)
ENDFOREACH()
ENDIF()
+ IF(WIN32)
+ FOREACH(target ${TARGETS})
+ EMBED_VERSION_INFO(${target})
+ ENDFOREACH()
+ ENDIF()
+
INSTALL(TARGETS ${TARGETS} DESTINATION ${ARG_DESTINATION})
SET(INSTALL_LOCATION ${ARG_DESTINATION} )
INSTALL_DEBUG_SYMBOLS("${TARGETS}")