From: Martin Quinson Date: Thu, 1 Jun 2017 14:38:22 +0000 (+0200) Subject: when fixing the rpath on Apple, search simgrid-java where it is X-Git-Tag: v3.16~165 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f63539840ac993e726786589995865c433ac6d31?ds=sidebyside when fixing the rpath on Apple, search simgrid-java where it is --- diff --git a/tools/cmake/Java.cmake b/tools/cmake/Java.cmake index e6b8ba4b6c..7c422f3b4c 100644 --- a/tools/cmake/Java.cmake +++ b/tools/cmake/Java.cmake @@ -160,7 +160,7 @@ if(APPLE) # # This has to be done with the classical Apple tools, as follows: - COMMAND install_name_tool -change ${CMAKE_BINARY_DIR}/lib/libsimgrid.${SIMGRID_VERSION_MAJOR}.${SIMGRID_VERSION_MINOR}${CMAKE_SHARED_LIBRARY_SUFFIX} @loader_path/libsimgrid.dylib libsimgrid-java.dylib + COMMAND install_name_tool -change ${CMAKE_BINARY_DIR}/lib/libsimgrid.${SIMGRID_VERSION_MAJOR}.${SIMGRID_VERSION_MINOR}${CMAKE_SHARED_LIBRARY_SUFFIX} @loader_path/libsimgrid.dylib ${CMAKE_BINARY_DIR}/lib/${LIBSIMGRID_JAVA_SO} ) endif()