Browse Source

Merge pull request #1417 from ytnuf/cmake-fix

Change cmake required to v3.13
David Snopek 1 year ago
parent
commit
7d4a24caab
2 changed files with 2 additions and 2 deletions
  1. 1 1
      CMakeLists.txt
  2. 1 1
      test/CMakeLists.txt

+ 1 - 1
CMakeLists.txt

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

+ 1 - 1
test/CMakeLists.txt

@@ -1,5 +1,5 @@
+cmake_minimum_required(VERSION 3.13)
 project(godot-cpp-test)
 project(godot-cpp-test)
-cmake_minimum_required(VERSION 3.6)
 
 
 set(GODOT_GDEXTENSION_DIR ../gdextension/ CACHE STRING "Path to GDExtension interface header directory")
 set(GODOT_GDEXTENSION_DIR ../gdextension/ CACHE STRING "Path to GDExtension interface header directory")
 set(CPP_BINDINGS_PATH ../ CACHE STRING "Path to C++ bindings")
 set(CPP_BINDINGS_PATH ../ CACHE STRING "Path to C++ bindings")