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