|
|
@ -45,9 +45,9 @@ MACRO(NL_DEFAULT_PROPS name label)
|
|
|
|
# Set versions only if target is a shared library
|
|
|
|
# Set versions only if target is a shared library
|
|
|
|
SET_TARGET_PROPERTIES(${name} PROPERTIES
|
|
|
|
SET_TARGET_PROPERTIES(${name} PROPERTIES
|
|
|
|
VERSION ${NL_VERSION} SOVERSION ${NL_VERSION_MAJOR})
|
|
|
|
VERSION ${NL_VERSION} SOVERSION ${NL_VERSION_MAJOR})
|
|
|
|
IF(LIB_PREFIX)
|
|
|
|
IF(NL_LIB_PREFIX)
|
|
|
|
SET_TARGET_PROPERTIES(${name} PROPERTIES INSTALL_NAME_DIR ${LIB_PREFIX})
|
|
|
|
SET_TARGET_PROPERTIES(${name} PROPERTIES INSTALL_NAME_DIR ${NL_LIB_PREFIX})
|
|
|
|
ENDIF(LIB_PREFIX)
|
|
|
|
ENDIF(NL_LIB_PREFIX)
|
|
|
|
ENDIF(${type} STREQUAL SHARED_LIBRARY)
|
|
|
|
ENDIF(${type} STREQUAL SHARED_LIBRARY)
|
|
|
|
IF(WITH_STLPORT AND WIN32)
|
|
|
|
IF(WITH_STLPORT AND WIN32)
|
|
|
|
SET_TARGET_PROPERTIES(${name} PROPERTIES COMPILE_FLAGS "/X")
|
|
|
|
SET_TARGET_PROPERTIES(${name} PROPERTIES COMPILE_FLAGS "/X")
|
|
|
|