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 d96c78ded4
commit 1fb48bd743

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