Browse Source

travis, as usual

Julius Pfrommer 9 years ago
parent
commit
b15384d579
1 changed files with 3 additions and 1 deletions
  1. 3 1
      CMakeLists.txt

+ 3 - 1
CMakeLists.txt

@@ -217,9 +217,11 @@ if(EXTENSION_UDP)
 	list(APPEND server_sources examples/networklayer_udp.c)
 endif()
 add_executable(exampleServer ${server_sources} ${exported_headers} ${generated_headers})
-target_link_libraries(exampleServer open62541 rt)
+target_link_libraries(exampleServer open62541)
 if(WIN32)
     target_link_libraries(exampleServer ws2_32)
+else()
+    target_link_libraries(exampleServer rt)
 endif(WIN32)
 if(MULTITHREADING)
     target_link_libraries(exampleServer urcu-cds urcu urcu-common pthread)