aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/quic/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/quic/CMakeLists.txt b/src/plugins/quic/CMakeLists.txt
index 5652bdb313e..43fb483a7bc 100644
--- a/src/plugins/quic/CMakeLists.txt
+++ b/src/plugins/quic/CMakeLists.txt
@@ -16,6 +16,7 @@ message(STATUS "Looking for quicly")
unset(QUIC_LINK_LIBRARIES)
find_path(QUICLY_INCLUDE_DIR NAMES quicly.h)
+find_path(PICOTLS_INCLUDE_DIR NAMES picotls.h)
find_library (QUICLY_LIBRARY NAMES "libquicly.a")
find_library (PICOTLS_CORE_LIBRARY NAMES "libpicotls-core.a")
find_library (PICOTLS_OPENSSL_LIBRARY NAMES "libpicotls-openssl.a")
@@ -28,6 +29,11 @@ list(APPEND QUIC_LINK_LIBRARIES
if(QUICLY_INCLUDE_DIR AND QUIC_LINK_LIBRARIES)
include_directories (${QUICLY_INCLUDE_DIR})
+
+ if(PICOTLS_INCLUDE_DIR)
+ include_directories (${PICOTLS_INCLUDE_DIR})
+ endif()
+
add_vpp_plugin(quic
SOURCES
certs.c