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] / testsuite / surf / CMakeLists.txt
index 49addbc..f9eee1c 100644 (file)
@@ -15,14 +15,14 @@ if(NOT WIN32)
   target_link_libraries(surf_usage simgrid m )
   target_link_libraries(surf_usage2 simgrid m )
   target_link_libraries(trace_usage simgrid m )
-else(NOT WIN32)
+else()
   target_link_libraries(lmm_usage simgrid )
   target_link_libraries(maxmin_bench simgrid )
   set_target_properties(maxmin_bench PROPERTIES COMPILE_FLAGS "-DDLL_STATIC")
   target_link_libraries(surf_usage simgrid )
   target_link_libraries(surf_usage2 simgrid )
   target_link_libraries(trace_usage simgrid )
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}