OSX/buildsystems: unify openmp handling by changing iomp5 id to @loader_path/../Resources/lib/libiomp5.dylib

This makes install_name_tool usage obsolete here and also assures cmake builds can be codesigned.
IMPORTANT: update lib (darwin-9.x.universal/openmp)
This commit is contained in:
Jens Verwiebe
2014-11-16 17:03:44 +01:00
parent 97e2d62c79
commit fa821a969e
3 changed files with 2 additions and 6 deletions

View File

@@ -837,7 +837,7 @@ elseif(APPLE)
if(WITH_OPENMP AND CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT ${CMAKE_C_COMPILER_VERSION} VERSION_LESS '3.4')
install(
FILES ${LIBDIR}/openmp/lib/libiomp5.dylib
DESTINATION blender.app/Contents/MacOS
DESTINATION blender.app/Contents/Resources/lib/
)
endif()