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 / numerous_rpc / CMakeLists.txt
index 129d3e1..9c155aa 100644 (file)
@@ -23,10 +23,10 @@ add_custom_command(OUTPUT            ${CMAKE_CURRENT_BINARY_DIR}/_numerous_rpc_s
 if(NOT WIN32)
   target_link_libraries(numerous_rpc_client gras m pthread )
   target_link_libraries(numerous_rpc_server gras m pthread )
-else(NOT WIN32)
+else()
   target_link_libraries(numerous_rpc_client gras)
   target_link_libraries(numerous_rpc_server gras)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}