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 / bandwidth / CMakeLists.txt
index 9ce7683..5d657fd 100644 (file)
@@ -26,11 +26,11 @@ if(NOT WIN32)
   target_link_libraries(bandwidth_simulator simgrid pthread m)
   target_link_libraries(bandwidth_maestro gras pthread m)
   target_link_libraries(bandwidth_sensor gras pthread m)
-else(NOT WIN32)
+else()
   target_link_libraries(bandwidth_simulator simgrid)
   target_link_libraries(bandwidth_maestro gras)
   target_link_libraries(bandwidth_sensor gras)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}