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 / simdag / network / mxn / CMakeLists.txt
index 35fdb68..e25af1c 100644 (file)
@@ -11,11 +11,11 @@ if(NOT WIN32)
   target_link_libraries(test_intra_all2all simgrid m pthread )
   target_link_libraries(test_intra_independent_comm simgrid m pthread )
   target_link_libraries(test_intra_scatter simgrid m pthread )
-else(NOT WIN32)
+else()
   target_link_libraries(test_intra_all2all simgrid)
   target_link_libraries(test_intra_independent_comm simgrid)
   target_link_libraries(test_intra_scatter simgrid)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}