aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Djuric <aleksander.djuric@gmail.com>2019-11-12 12:36:08 +0300
committerDamjan Marion <dmarion@me.com>2019-11-14 19:52:10 +0000
commit5ae7f0db43928a9a043e1e4a53871219060d259d (patch)
tree59e8e3eebc982c779e09bea969436dc393772740
parent50c99b4a8679e6c0d6f48677a5b91455bb612c86 (diff)
ikev2: add definitions for libssl
Type: fix Signed-off-by: Aleksander Djuric <aleksander.djuric@gmail.com> Change-Id: I2fe36e2e4e8ce2906a6573301c7fca3cbab571c3
-rw-r--r--src/plugins/ikev2/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
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}
)