ikev2: fix initial contact cleanup
[vpp.git] / src / plugins / ikev2 / CMakeLists.txt
index 800b9a8..6f2e5a6 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
@@ -21,6 +24,7 @@ add_vpp_plugin(ikev2
   ikev2_payload.c
 
   API_FILES
+  ikev2_types.api
   ikev2.api
 
   API_TEST_SOURCES
@@ -30,5 +34,6 @@ add_vpp_plugin(ikev2
   ikev2.h
   ikev2_priv.h
 
-  COMPONENT vpp-plugin-ikev2
+  LINK_LIBRARIES
+  ${OPENSSL_LIBRARIES}
 )