diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2009-12-18 23:53:30 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2009-12-18 23:53:30 +0100 |
commit | 27c0d595e9e3a35232672209219ecc9b74004ab4 (patch) | |
tree | 5bd743311c627949ab06195560ba2e8fc844d41c /cmake/install_macros.cmake | |
parent | c7d19daba5987593b7cc7da7ff2f68e073d10838 (diff) | |
download | mariadb-git-27c0d595e9e3a35232672209219ecc9b74004ab4.tar.gz |
Simplify embedding version info into executables with ADD_VERSION_INFO
Diffstat (limited to 'cmake/install_macros.cmake')
-rw-r--r-- | cmake/install_macros.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake index 7e11bdfb3ab..902b717c1d4 100644 --- a/cmake/install_macros.cmake +++ b/cmake/install_macros.cmake @@ -130,12 +130,12 @@ FUNCTION(MYSQL_INSTALL_TARGETS) ENDIF() # If signing is required, sign executables before installing - IF(SIGNCODE) - FOREACH(target ${TARGETS}) + FOREACH(target ${TARGETS}) + IF(SIGNCODE) SIGN_TARGET(${target}) - ENDFOREACH() - ENDIF() - + ENDIF() + ADD_VERSION_INFO(${target}) + ENDFOREACH() INSTALL(TARGETS ${TARGETS} DESTINATION ${ARG_DESTINATION}) SET(INSTALL_LOCATION ${ARG_DESTINATION} ) |