Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do the make distcheck command into the CMAKE_BINARY_TEST_DIR directory
[simgrid.git] / buildtools / Cmake / Flags.cmake
index a8cfb32..e6d51d3 100644 (file)
@@ -72,5 +72,5 @@ if(NOT $ENV{LDFLAGS} STREQUAL "")
 endif(NOT $ENV{LDFLAGS} STREQUAL "")
 
 if(enable_model-checking AND enable_compile_optimizations)
-    message(FATAL_ERROR "Sorry for now GCC optimizations does not work with model checking.\nPlease turn off optimizations with command:\ncmake -Denable_compile_optimizations=off. ")
+    message(WARNING "Sorry for now GCC optimizations does not work with model checking.\nPlease turn off optimizations with command:\ncmake -Denable_compile_optimizations=off. ")
 endif(enable_model-checking AND enable_compile_optimizations)