Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
when fixing the rpath on Apple, search simgrid-java where it is
[simgrid.git] / 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()