Kaynağa Gözat

travis, as usual

Julius Pfrommer 9 yıl önce
ebeveyn
işleme
b15384d579
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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)