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] / teshsuite / gras / empty_main / CMakeLists.txt
index 49e5079..7439d20 100644 (file)
@@ -23,10 +23,10 @@ add_custom_command(
 if(NOT WIN32)
   target_link_libraries(empty_main_simulator simgrid m pthread)
   target_link_libraries(empty_main_function gras m pthread)
-else(NOT WIN32)
+else()
   target_link_libraries(empty_main_simulator simgrid)
   target_link_libraries(empty_main_function gras)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}