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] / buildtools / Cmake / UnitTesting.cmake
index c084254..746596e 100644 (file)
@@ -59,8 +59,8 @@ add_executable(testall ${TEST_UNITS})
 ### Add definitions for compile
 if(NOT WIN32)
   target_link_libraries(testall gras m)
-else(NOT WIN32)
+else()
   target_link_libraries(testall gras)
-endif(NOT WIN32)
+endif()
 
 add_dependencies(testall ${TEST_UNITS})
\ No newline at end of file