Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
when fixing the rpath on Apple, search simgrid-java where it is
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 1 Jun 2017 14:38:22 +0000 (16:38 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 1 Jun 2017 14:38:22 +0000 (16:38 +0200)
tools/cmake/Java.cmake

index e6b8ba4..7c422f3 100644 (file)
@@ -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()