Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ikev2: do not require optional IDr on IKE AUTH
[vpp.git]
/
src
/
plugins
/
ikev2
/
CMakeLists.txt
diff --git
a/src/plugins/ikev2/CMakeLists.txt
b/src/plugins/ikev2/CMakeLists.txt
index
d3ba271
..
41292fc
100644
(file)
--- a/
src/plugins/ikev2/CMakeLists.txt
+++ b/
src/plugins/ikev2/CMakeLists.txt
@@
-11,6
+11,13
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
+if(NOT OPENSSL_FOUND)
+ message(WARNING "openssl headers not found - ikev2 plugin disabled")
+ return()
+endif()
+
+include_directories(${OPENSSL_INCLUDE_DIR})
+
add_vpp_plugin(ikev2
SOURCES
ikev2.c
add_vpp_plugin(ikev2
SOURCES
ikev2.c
@@
-21,6
+28,7
@@
add_vpp_plugin(ikev2
ikev2_payload.c
API_FILES
ikev2_payload.c
API_FILES
+ ikev2_types.api
ikev2.api
API_TEST_SOURCES
ikev2.api
API_TEST_SOURCES
@@
-29,6
+37,7
@@
add_vpp_plugin(ikev2
INSTALL_HEADERS
ikev2.h
ikev2_priv.h
INSTALL_HEADERS
ikev2.h
ikev2_priv.h
- ikev2_msg_enum.h
- ikev2_all_api.h
+
+ LINK_LIBRARIES
+ ${OPENSSL_LIBRARIES}
)
)