Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
revert [a30523e] (remove supernovae) because I need some timings on G5K, and fix...
[simgrid.git] / buildtools / Cmake / Modules / FindNS3.cmake
index b7faf9f..c8e34bb 100644 (file)
@@ -75,7 +75,7 @@ if(HAVE_CORE_MODULE_H)
         string(REPLACE "/libns3.${LIB_EXE}" ""  HAVE_NS3_LIB "${HAVE_NS3_LIB}")
     endif(HAVE_NS3_LIB)
     if(HAVE_NS3_CORE_LIB)
-        message(STATUS "Warning: NS-3 version > 3.10")
+        message(STATUS "NS-3 version > 3.10")
         set(HAVE_NS3 1)
         set(NS3_VERSION 312)
         string(REPLACE "/libns3-core.${LIB_EXE}" ""  HAVE_NS3_LIB "${HAVE_NS3_CORE_LIB}")
@@ -103,4 +103,8 @@ if(HAVE_NS3)
        endif(NOT operation)            
 else(HAVE_NS3)
     message(STATUS "Warning: To use NS-3 Please install ns3 at least version 3.10 (http://www.nsnam.org/releases/)")
-endif(HAVE_NS3)
\ No newline at end of file
+endif(HAVE_NS3)
+
+if(HAVE_NS3 AND enable_supernovae)
+    set(enable_supernovae OFF)
+endif(HAVE_NS3 AND enable_supernovae)
\ No newline at end of file