cmake: Require MbedTLS 3 and exclude 4 or later

Until the codebase is updated to support it, CMake will explicitly search
for version 3 that is supported by the codebase.
This commit is contained in:
tytan652
2026-08-17 18:30:55 +02:00
committed by Ryan Foster
parent f89ad4bee5
commit 71ef44f06e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.28...3.30)
set(CMAKE_FIND_PACKAGE_PREFER_CONFIG TRUE)
find_package(MbedTLS REQUIRED)
find_package(MbedTLS 3...<4 REQUIRED)
set(CMAKE_FIND_PACKAGE_PREFER_CONFIG FALSE)
find_package(ZLIB REQUIRED)
find_package(jansson REQUIRED)