X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Ftlsopenssl%2FCMakeLists.txt;h=fac27f5457cd143b07b12c4b695a52f5c73b9371;hb=74449b8b68801e0938f528f19d69e75644cb2ee9;hp=7659cc0feafe5cf9020c5b2300befd18670fbc7b;hpb=2bfdda76d8b1cffcd8e30ca6855f293b1b1953c5;p=vpp.git diff --git a/src/plugins/tlsopenssl/CMakeLists.txt b/src/plugins/tlsopenssl/CMakeLists.txt index 7659cc0feaf..fac27f5457c 100644 --- a/src/plugins/tlsopenssl/CMakeLists.txt +++ b/src/plugins/tlsopenssl/CMakeLists.txt @@ -12,7 +12,13 @@ # limitations under the License. if(OPENSSL_FOUND) - add_vpp_plugin(tlsopenssl_plugin tls_openssl.c tls_async.c) - target_link_libraries(tlsopenssl_plugin ${OPENSSL_LIBRARIES}) + add_vpp_plugin(tlsopenssl + SOURCES + tls_openssl.c + tls_async.c + + LINK_LIBRARIES + ${OPENSSL_LIBRARIES} + ) endif()