cmake minimum version 3.21

forced by this being the lowest version that supports vs 2022
develop
Kelly Kinkade 2023-04-18 05:40:51 -05:00
parent 495c94127a
commit ed87075cb8
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 6ed8aa46462ea01a1122fc49422840a2facc9757 Subproject commit d5e17c6012e7eefb0cbe3e130a56c24bd11f0094

@ -1,5 +1,5 @@
project(lua CXX) project(lua CXX)
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 3.21)
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -DLUA_USE_APICHECK") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -DLUA_USE_APICHECK")

@ -1,5 +1,5 @@
project(dfapi) project(dfapi)
cmake_minimum_required(VERSION 2.8.12) cmake_minimum_required(VERSION 3.21)
# prevent CMake warnings about INTERFACE_LINK_LIBRARIES vs LINK_INTERFACE_LIBRARIES # prevent CMake warnings about INTERFACE_LINK_LIBRARIES vs LINK_INTERFACE_LIBRARIES
cmake_policy(SET CMP0022 NEW) cmake_policy(SET CMP0022 NEW)