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 / gras / rpc / CMakeLists.txt
index 42c9aaa..063bb93 100644 (file)
@@ -30,12 +30,12 @@ if(NOT WIN32)
   target_link_libraries(rpc_client gras pthread m )
   target_link_libraries(rpc_forwarder gras pthread m )
   target_link_libraries(rpc_server gras pthread m )
-else(NOT WIN32)
+else()
   target_link_libraries(rpc_simulator simgrid)
   target_link_libraries(rpc_client gras)
   target_link_libraries(rpc_forwarder gras)
   target_link_libraries(rpc_server gras)
-endif(NOT WIN32)
+endif()
 
 set(tesh_files
   ${tesh_files}