From fa821a969ea935b0251f9aa0c893ab174e03a580 Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Sun, 16 Nov 2014 17:03:44 +0100 Subject: 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) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 316191af4fc..acf1bb4b754 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2049,7 +2049,7 @@ elseif(APPLE) link_directories(${LIBDIR}/openmp/lib) # This is a workaround for our helperbinaries ( datatoc, masgfmt, ... ), # They are linked also to omp lib, so we need it in builddir for runtime exexcution, TODO: remove all unneeded dependencies from these - execute_process(COMMAND ditto -arch ${CMAKE_OSX_ARCHITECTURES} ${LIBDIR}/openmp/lib/libiomp5.dylib ${CMAKE_BINARY_DIR}/bin/libiomp5.dylib) # for intermediate binaries, lib id @loader_path + execute_process(COMMAND ditto -arch ${CMAKE_OSX_ARCHITECTURES} ${LIBDIR}/openmp/lib/libiomp5.dylib ${CMAKE_BINARY_DIR}/Resources/lib/libiomp5.dylib) # for intermediate binaries, lib id @loader_path endif() endif() endif() -- cgit v1.2.3