Fixed: name_dir property for NeL and Ryzom libs under Mac OS X

This commit is contained in:
kervala 2010-10-18 09:52:01 +02:00
parent 48d69ac9d7
commit b67181f1af

View file

@ -42,6 +42,7 @@ 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}
INSTALL_NAME_DIR ${NL_LIB_PREFIX}
PROJECT_LABEL ${label}) PROJECT_LABEL ${label})
ELSE(${type} STREQUAL SHARED_LIBRARY) ELSE(${type} STREQUAL SHARED_LIBRARY)
SET_TARGET_PROPERTIES(${name} PROPERTIES SET_TARGET_PROPERTIES(${name} PROPERTIES