ikev2: add support for custom ipsec-over-udp port
[vpp.git] / src / plugins / ikev2 / CMakeLists.txt
index 13297c6..dac2465 100644 (file)
@@ -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}
 )