diff options
author | Damjan Marion <damarion@cisco.com> | 2024-01-19 21:55:03 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2024-01-19 21:56:35 +0100 |
commit | 5840c66bbc15b265e280997b028442f9fedd92f6 (patch) | |
tree | a716a9f7a8982dcefb8a5963b8b0b7326ddd0fdb /src/plugins/tlspicotls/CMakeLists.txt | |
parent | 9705d848a2bf0a14fb832fb9e2bc0c4a71ff8952 (diff) |
build: disable plugins which require openssl if openssl is not available
Type: improvement
Change-Id: I4591fcb31dd28d1771b3d6e5afdaa14f29efe6ef
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/tlspicotls/CMakeLists.txt')
-rw-r--r-- | src/plugins/tlspicotls/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/tlspicotls/CMakeLists.txt b/src/plugins/tlspicotls/CMakeLists.txt index c8f7c64126b..e60a0e0ebd4 100644 --- a/src/plugins/tlspicotls/CMakeLists.txt +++ b/src/plugins/tlspicotls/CMakeLists.txt @@ -1,5 +1,10 @@ include (CheckFunctionExists) +if(NOT OPENSSL_FOUND) + message(WARNING "OpenSSL not found - tlspicotls plugin disabled") + return() +endif() + # We should rely on a picotls specific version, but as # we expect dependancies to be built with vpp-ext-deps # it's reasonable to make this check to avoid breaking |