Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix the mcsc problem with mac.
[simgrid.git] / buildtools / CPACK / src / CMakeMakeExeLib.txt
index 69f83bf..dd5b46a 100644 (file)
@@ -15,9 +15,7 @@ set(SIMGRID_DEP "")
 set(SMPI_DEP "")
 
 if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
-       set(GRAS_DEP "pthread -D_OPEN_SOURCE")
-       set(SIMGRID_DEP "-D_OPEN_SOURCE")
-       set(SMPI_DEP "-D_OPEN_SOURCE")
+       add_definitions("-D_XOPEN_SOURCE")
 endif(CMAKE_SYSTEM_NAME MATCHES "Darwin")