Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'depencencies' into 'master'
[simgrid.git] / tools / cmake / DefinePackages.cmake
index 2511c87..4d56637 100644 (file)
@@ -815,10 +815,15 @@ set(simgrid_sources
   ${XBT_SRC}
   ${PLUGINS_SRC}
   ${BINDINGS_SRC}
-  ${MSG_SRC}
   ${SIMDAG_SRC}
   )
 
+if(${enable_MSG})
+  set(simgrid_sources ${simgrid_sources}   ${MSG_SRC})
+else()
+  set(EXTRA_DIST      ${EXTRA_DIST}        ${MSG_SRC})
+endif()
+
 if(${SIMGRID_HAVE_JEDULE})
   set(simgrid_sources  ${simgrid_sources}  ${JEDULE_SRC})
 else()
@@ -999,7 +1004,7 @@ set(CMAKEFILES_TXT
   examples/s4u/CMakeLists.txt
   examples/smpi/CMakeLists.txt
   examples/smpi/NAS/CMakeLists.txt
-  examples/smpi/smpi_msg_masterslave/CMakeLists.txt
+  examples/smpi/smpi_s4u_masterslave/CMakeLists.txt
   examples/smpi/replay_multiple/CMakeLists.txt
   examples/smpi/replay_multiple_manual_deploy/CMakeLists.txt
   examples/python/CMakeLists.txt