X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Ftlsopenssl%2FCMakeLists.txt;h=eb67e4cceaf586a960987683c892b665956e7d28;hb=4b47ee26c;hp=07b587b4ca3792a281b5cf1558c7fa5e1a811c08;hpb=be4d1aa2c58efa8287bca8795bc4a83cb448993a;p=vpp.git diff --git a/src/plugins/tlsopenssl/CMakeLists.txt b/src/plugins/tlsopenssl/CMakeLists.txt index 07b587b4ca3..eb67e4cceaf 100644 --- a/src/plugins/tlsopenssl/CMakeLists.txt +++ b/src/plugins/tlsopenssl/CMakeLists.txt @@ -12,21 +12,19 @@ # limitations under the License. include (CheckFunctionExists) -if(OPENSSL_FOUND) +if(OPENSSL_FOUND AND OPENSSL_VERSION VERSION_GREATER_EQUAL "1.1.0") include_directories(${OPENSSL_INCLUDE_DIR}) add_vpp_plugin(tlsopenssl SOURCES + tls_bio.c tls_openssl.c tls_openssl_api.c tls_async.c + dtls_bio.c API_FILES tls_openssl.api - INSTALL_HEADERS - tls_openssl_all_api_h.h - tls_openssl_msg_enum.h - API_TEST_SOURCES tls_openssl_test.c