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 / simdag / properties / CMakeLists.txt
index 4a1dd4a..04e4cce 100644 (file)
@@ -7,29 +7,29 @@ add_executable(sd_prop sd_prop.c)
 ### Add definitions for compile
 if(NOT WIN32)
   target_link_libraries(sd_prop simgrid pthread m )
-else(NOT WIN32)
+else()
   target_link_libraries(sd_prop simgrid)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}
   ${CMAKE_CURRENT_SOURCE_DIR}/test_prop.tesh
   PARENT_SCOPE
-)
+  )
 set(xml_files
   ${xml_files}
   PARENT_SCOPE
-)
+  )
 set(examples_src
   ${examples_src}
   ${CMAKE_CURRENT_SOURCE_DIR}/sd_prop.c
   PARENT_SCOPE
-)
+  )
 set(bin_files
   ${bin_files}
   PARENT_SCOPE
-)
+  )
 set(txt_files
   ${txt_files}
   PARENT_SCOPE
-)
\ No newline at end of file
+  )