From 5840c66bbc15b265e280997b028442f9fedd92f6 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Fri, 19 Jan 2024 21:55:03 +0100 Subject: build: disable plugins which require openssl if openssl is not available Type: improvement Change-Id: I4591fcb31dd28d1771b3d6e5afdaa14f29efe6ef Signed-off-by: Damjan Marion --- src/plugins/quic/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/quic/CMakeLists.txt') diff --git a/src/plugins/quic/CMakeLists.txt b/src/plugins/quic/CMakeLists.txt index 9646c444b21..65bdc32a239 100644 --- a/src/plugins/quic/CMakeLists.txt +++ b/src/plugins/quic/CMakeLists.txt @@ -12,6 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. +if(NOT OPENSSL_FOUND) + message(WARNING "OpenSSL not found - quic plugin disabled") + return() +endif() + unset(QUIC_LINK_LIBRARIES) set(EXPECTED_QUICLY_VERSION "0.1.4-vpp") -- cgit 1.2.3-korg