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] / tools / gras / CMakeLists.txt
index eb9301c..f95e278 100644 (file)
@@ -9,10 +9,10 @@ add_executable(struct_diff struct_diff.c)
 if(NOT WIN32)
   target_link_libraries(gras_stub_generator simgrid pthread m)
   target_link_libraries(struct_diff         simgrid pthread m)
-else(NOT WIN32)
+else()
   target_link_libraries(gras_stub_generator simgrid)
   target_link_libraries(struct_diff         simgrid)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}