Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Since cmake 2.6, else() and endif() don't need to repeat the condition.
[simgrid.git] / examples / msg / mc / CMakeLists.txt
index 47fce16b79a8b16f763cc85b4c6df4161830f37f..5e267988b70c293488706ef4f83bca63564b6758 100644 (file)
@@ -23,7 +23,7 @@ if(HAVE_MC)
   target_link_libraries(bugged2_liveness     simgrid m )
   target_link_libraries(test/test_heap_comparison     simgrid m )
 
   target_link_libraries(bugged2_liveness     simgrid m )
   target_link_libraries(test/test_heap_comparison     simgrid m )
 
-endif(HAVE_MC)
+endif()
 
 set(tesh_files
   ${tesh_files}
 
 set(tesh_files
   ${tesh_files}