1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Simplify embedding version info into executables with ADD_VERSION_INFO

This commit is contained in:
Vladislav Vaintroub
2009-12-18 23:53:30 +01:00
parent b9d05f2b68
commit 54c5a4beef
8 changed files with 64 additions and 70 deletions

View File

@ -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} )