From ed9abbb2d52e3b428f46499097425728fdd1d253 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 18 Oct 2010 09:52:01 +0200 Subject: [PATCH] Fixed: name_dir property for NeL and Ryzom libs under Mac OS X --- code/CMakeModules/nel.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index 870b0a0ac..d96937cc2 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -42,6 +42,7 @@ MACRO(NL_DEFAULT_PROPS name label) # Set versions only if target is a shared library SET_TARGET_PROPERTIES(${name} PROPERTIES VERSION ${NL_VERSION} SOVERSION ${NL_VERSION_MAJOR} + INSTALL_NAME_DIR ${NL_LIB_PREFIX} PROJECT_LABEL ${label}) ELSE(${type} STREQUAL SHARED_LIBRARY) SET_TARGET_PROPERTIES(${name} PROPERTIES