summaryrefslogtreecommitdiffstats
path: root/src/plugins/tlsopenssl/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/tlsopenssl/CMakeLists.txt')
-rw-r--r--src/plugins/tlsopenssl/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
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()