Selaa lähdekoodia

Merge pull request #1098 from XB32Z/patch-1

Update CMakeLists.txt
Stefan Profanter 7 vuotta sitten
vanhempi
commit
7b5bc8d4c3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      examples/CMakeLists.txt

+ 1 - 1
examples/CMakeLists.txt

@@ -101,7 +101,7 @@ if(UA_BUILD_SELFSIGNED_CERTIFICATE)
                              ${PROJECT_SOURCE_DIR}/tools/certs/localhost.cnf)
   add_custom_target(selfsigned ALL DEPENDS server_cert.der ca.crt)
   add_executable(server_certificate server_certificate.c ${STATIC_OBJECTS} server_cert.der ca.crt)
-  target_link_libraries(server_certificate ${LIBS})
+  target_link_libraries(server_certificate open62541 ${open62541_LIBRARIES})
 endif()
 
 if(UA_ENABLE_DISCOVERY)