mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user