wireguard: add async mode for encryption packets
[vpp.git] / src / plugins / wireguard / CMakeLists.txt
old mode 100755 (executable)
new mode 100644 (file)
index db74f9c..6dddc67
@@ -16,6 +16,8 @@ if (OPENSSL_VERSION VERSION_LESS 1.1.0)
   return()
 endif()
 
+include_directories(${OPENSSL_INCLUDE_DIR})
+
 list(APPEND WG_BLAKE_SOURCES
   blake/blake2s.h
   blake/blake2s.c
@@ -49,6 +51,8 @@ add_vpp_plugin(wireguard
   wireguard_index_table.h
   wireguard_api.c
 
+  LINK_LIBRARIES ${OPENSSL_LIBRARIES}
+
   API_FILES
   wireguard.api