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 / token_ring / CMakeLists.txt
index c87894e..f3e07d4 100644 (file)
@@ -9,10 +9,10 @@ add_executable(token_bypass token_bypass.c)
 if(NOT WIN32)
   target_link_libraries(token_ring simgrid m pthread )
   target_link_libraries(token_bypass simgrid m pthread )
-else(NOT WIN32)
+else()
   target_link_libraries(token_ring simgrid)
   target_link_libraries(token_bypass simgrid)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}