chore: bump cmake_minimum_required to 3.16.3 (#7576)

* chore: bump cmake_minimum_required to 3.16.3 to match wide_integer

* build: unwrap CMP0092 from if

It was added in CMake 3.14
This commit is contained in:
Yat Ho
2025-05-01 09:03:46 +08:00
committed by GitHub
parent 90d71d928d
commit 67762b9eb5

View File

@@ -1,8 +1,6 @@
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
cmake_minimum_required(VERSION 3.16.3 FATAL_ERROR)
if(POLICY CMP0092)
cmake_policy(SET CMP0092 NEW)
endif()
cmake_policy(SET CMP0092 NEW)
if(POLICY CMP0114)
cmake_policy(SET CMP0114 NEW)
endif()