Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to fix the jarfiles on Mac OSX
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 11 Jan 2017 13:45:15 +0000 (14:45 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 11 Jan 2017 13:45:19 +0000 (14:45 +0100)
It works without this on jenkins because the library still exists at
the location where it was built, so it's OK when we cannot unpack it
from the jarfile.

tools/cmake/MakeLib.cmake

index 5b16ebf..278b589 100644 (file)
@@ -1,5 +1,9 @@
 ### Make Libs
 
+# On Mac OSX, don't specify where to look for the dependencies
+# Otherwise, the libsimgrid-java will not find libsimgrid, as it is located in a temporary directory
+set(MACOSX_RPATH 0)
+
 ###############################
 # Declare the library content #
 ###############################