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 / gras / all2all / CMakeLists.txt
index 82b7c2f..18b5c1d 100644 (file)
@@ -26,11 +26,11 @@ if(NOT WIN32)
   target_link_libraries(all2all_simulator simgrid pthread m)
   target_link_libraries(all2all_sender gras pthread m)
   target_link_libraries(all2all_receiver gras pthread m)
-else(NOT WIN32)
+else()
   target_link_libraries(all2all_simulator simgrid)
   target_link_libraries(all2all_sender gras)
   target_link_libraries(all2all_receiver gras)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}