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}")
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