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 / msg / cloud / CMakeLists.txt
index 8372f45..c06ebfa 100644 (file)
@@ -7,9 +7,9 @@ add_executable(masterslave_virtual_machines "masterslave_virtual_machines.c")
 ### Add definitions for compile
 if(WIN32)
   target_link_libraries(masterslave_virtual_machines simgrid )
-else(WIN32)
+else()
   target_link_libraries(masterslave_virtual_machines simgrid m)
-endif(WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}