CMake: override option with toolchain variable

This commit is contained in:
tobtoht
2025-11-10 15:40:05 +01:00
parent 8a53c96b12
commit 47345d14a2

View File

@@ -43,6 +43,9 @@ include(CheckFunctionExists)
if (POLICY CMP0148)
cmake_policy(SET CMP0148 OLD) # https://cmake.org/cmake/help/latest/policy/CMP0148.html
endif()
if (POLICY CMP0077)
cmake_policy(SET CMP0077 NEW)
endif()
include(FindPythonInterp)
if (IOS)