Change cmake_minimum_required to match actual requirements

This is because target_link_options was added in v3.13
So this wouldn't build with cmake v3.12

Likewise in CMAKE_CXX_STANDARD only supports value of 17 starting with
cmake v3.9
So the test wouldn't build properly with cmake v3.6

(cherry picked from commit 5c12bd2287)
This commit is contained in:
ytnuf
2024-03-20 19:25:56 +00:00
committed by David Snopek
parent 7473b984cb
commit ef723ca9ec
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@
# Todo
# Test build for Windows, Mac and mingw.
cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.13)
project(godot-cpp LANGUAGES CXX)
option(GENERATE_TEMPLATE_GET_NODE "Generate a template version of the Node class's get_node." ON)