build: do not link with libssl if not needed
[vpp.git] / src / plugins / ikev2 / CMakeLists.txt
index e4c1788..568271e 100644 (file)
@@ -40,5 +40,5 @@ add_vpp_plugin(ikev2
   ikev2_priv.h
 
   LINK_LIBRARIES
-  ${OPENSSL_LIBRARIES}
+  ${OPENSSL_CRYPTO_LIBRARIES}
 )