Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Add a (compile time) option for content addressage page store
[simgrid.git] / buildtools / Cmake / MakeLib.cmake
index ef15efa..f73882a 100644 (file)
@@ -81,6 +81,10 @@ if(HAVE_GTNETS)
   SET(SIMGRID_DEP "${SIMGRID_DEP} -lgtnets")
 endif()
 
+if(enable_mc_content_adressable_pages)
+  SET(SIMGRID_DEP "${SIMGRID_DEP} -lnettle")
+endif()
+
 if(HAVE_MC)
   # The availability of libunwind was checked in CompleteInFiles.cmake
   #   (that includes FindLibunwind.cmake), so simply load it now.