aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Raoul <mathias.raoul@gmail.com>2019-08-06 14:58:01 +0200
committerDave Wallace <dwallacelf@gmail.com>2019-10-21 15:57:52 +0000
commit74dcbf97af4e55cb29932dad7d65472403c6006d (patch)
tree3f593179bab6cac591030dabd0ffe9f13045d648
parent586d3edf49f5dd8cd3e4f836afd562e21766914d (diff)
quic: Add PICOTLS_INCLUDE_DIR var to CMakeLists.
Type: fix Change-Id: I10ebcc653491d11ca798e0a60be6eeef82c41766 Signed-off-by: Mathias Raoul <mathias.raoul@gmail.com>
-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