Add missing dependencies for the core libraries
@@ -102,6 +102,11 @@ add_library(picoquic-core
${PICOQUIC_LIBRARY_FILES}
)
+target_link_libraries(picoquic-core
+ ${PTLS_LIBRARIES}
+ ${OPENSSL_LIBRARIES}
+)
+
add_library(picoquic-log
${LOGLIB_LIBRARY_FILES}
)
@@ -110,6 +115,11 @@ add_library(picohttp-core
${PICOHTTP_LIBRARY_FILES}
)
+target_link_libraries(picohttp-core
+ ${PTLS_LIBRARIES}
+ ${OPENSSL_LIBRARIES}
+)
+
add_executable(picoquicdemo
picoquicfirst/picoquicdemo.c
picoquicfirst/getopt.c
