Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Enable warnings for C++, and stop hiding potential problems.
[simgrid.git] / examples / simdag / dax / CMakeLists.txt
index 5711972..669dd41 100644 (file)
@@ -6,10 +6,10 @@ add_executable(dax_test dax_test.c)
 
 ### Add definitions for compile
 if(NOT WIN32)
-  target_link_libraries(dax_test simgrid pthread )
-else(NOT WIN32)
+  target_link_libraries(dax_test simgrid pthread )
+else()
   target_link_libraries(dax_test simgrid)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}