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 / start_kill_time / CMakeLists.txt
index 8c8ce6a..7f291d0 100644 (file)
@@ -7,9 +7,9 @@ add_executable(sk_time "sk_time.c")
 ### Add definitions for compile
 if(WIN32)
   target_link_libraries(sk_time simgrid )
-else(WIN32)
+else()
   target_link_libraries(sk_time simgrid m )
-endif(WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}