X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fikev2%2FCMakeLists.txt;h=dac2465241bba4e7c75274e1f89122c3a80b304a;hb=e5d34919b;hp=13297c6dbac08a8f1023feb254edca63e65d24ca;hpb=fc7b77db7e651505aa8c3a9c5cff7191334f91bd;p=vpp.git diff --git a/src/plugins/ikev2/CMakeLists.txt b/src/plugins/ikev2/CMakeLists.txt index 13297c6dbac..dac2465241b 100644 --- a/src/plugins/ikev2/CMakeLists.txt +++ b/src/plugins/ikev2/CMakeLists.txt @@ -11,6 +11,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +add_definitions (-DWITH_LIBSSL=1) +include_directories(${OPENSSL_INCLUDE_DIR}) + add_vpp_plugin(ikev2 SOURCES ikev2.c @@ -29,4 +32,7 @@ add_vpp_plugin(ikev2 INSTALL_HEADERS ikev2.h ikev2_priv.h + + LINK_LIBRARIES + ${OPENSSL_LIBRARIES} )