mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-12 02:09:52 +00:00
Fixed: #1066 Don't put VERSION in executables
This commit is contained in:
parent
4e101bd4bb
commit
3462b8edf3
1 changed files with 7 additions and 3 deletions
|
@ -37,9 +37,13 @@ ENDMACRO(NL_TARGET_DRIVER)
|
||||||
# Argument:
|
# Argument:
|
||||||
###
|
###
|
||||||
MACRO(NL_DEFAULT_PROPS name label)
|
MACRO(NL_DEFAULT_PROPS name label)
|
||||||
|
GET_TARGET_PROPERTY(type ${name} TYPE)
|
||||||
|
IF(${type} STREQUAL SHARED_LIBRARY)
|
||||||
|
# Set versions only if target is a shared library
|
||||||
|
SET(versions VERSION ${NL_VERSION} SOVERSION ${NL_VERSION_MAJOR})
|
||||||
|
ENDIF(${type} STREQUAL SHARED_LIBRARY)
|
||||||
SET_TARGET_PROPERTIES(${name} PROPERTIES
|
SET_TARGET_PROPERTIES(${name} PROPERTIES
|
||||||
VERSION ${NL_VERSION}
|
${versions}
|
||||||
SOVERSION ${NL_VERSION_MAJOR}
|
|
||||||
PROJECT_LABEL ${label})
|
PROJECT_LABEL ${label})
|
||||||
ENDMACRO(NL_DEFAULT_PROPS)
|
ENDMACRO(NL_DEFAULT_PROPS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue