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] / teshsuite / simdag / network / CMakeLists.txt
index 4417d10..a89ec1c 100644 (file)
@@ -7,9 +7,9 @@ add_executable(test_reinit_costs test_reinit_costs.c)
 ### Add definitions for compile
 if(NOT WIN32)
   target_link_libraries(test_reinit_costs simgrid m pthread )
-else(NOT WIN32)
+else()
   target_link_libraries(test_reinit_costs simgrid)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}