From: Aleksander Djuric Date: Tue, 12 Nov 2019 09:36:08 +0000 (+0300) Subject: ikev2: add definitions for libssl X-Git-Tag: v20.05-rc0~376 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F76%2F23376%2F2;p=vpp.git ikev2: add definitions for libssl Type: fix Signed-off-by: Aleksander Djuric Change-Id: I2fe36e2e4e8ce2906a6573301c7fca3cbab571c3 --- 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} )