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 / amok / saturate / CMakeLists.txt
index cd87c37..aec9f8c 100644 (file)
@@ -26,11 +26,11 @@ if(NOT WIN32)
   target_link_libraries(saturate_simulator simgrid pthread m)
   target_link_libraries(saturate_maestro gras pthread m)
   target_link_libraries(saturate_sensor gras pthread m)
-else(NOT WIN32)
+else()
   target_link_libraries(saturate_simulator simgrid)
   target_link_libraries(saturate_maestro gras)
   target_link_libraries(saturate_sensor gras)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}