X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/137663894f564730ce8be22f994d8f9c1da1ade0..b5563937fe21a176f07b2aa3c305c51e89b849ea:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index f89dd8d404..73b8dfdb6f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,11 @@ endif() enable_language(CXX) +if (APPLE) #MAC + set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") + set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) +endif() + if (NOT DEFINED enable_smpi OR enable_smpi) # smpi is enabled by default # Call enable_language(Fortran) in order to load the build rules for # this language, needed by teshsuite/smpi/mpich-test/. Use @@ -51,6 +56,7 @@ set(CMAKE_Fortran_LINK_FLAGS "" CACHE TYPE INTERNAL FORCE) # 3.9.90 -> release 3.10pre1 # 3.10.0 -> release 3.10 # 3.11.0 -> release 3.11 +# 3.12.0 -> release 3.12 set(SIMGRID_VERSION_MAJOR "3") set(SIMGRID_VERSION_MINOR "12")