build: do not link with libssl if not needed
[vpp.git] / src / plugins / crypto_openssl / CMakeLists.txt
index 5d86e3b..472b0ef 100644 (file)
@@ -23,5 +23,5 @@ add_vpp_plugin(crypto_openssl
   main.c
 
   LINK_LIBRARIES
-  ${OPENSSL_LIBRARIES}
+  ${OPENSSL_CRYPTO_LIBRARIES}
 )