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:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user