diff --git a/build_files/build_environment/CMakeLists.txt b/build_files/build_environment/CMakeLists.txt index 4b8b154b5f8..9f685b75d7f 100644 --- a/build_files/build_environment/CMakeLists.txt +++ b/build_files/build_environment/CMakeLists.txt @@ -14,7 +14,7 @@ # ################################################################################################## -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project("BlenderDependencies") if(POLICY CMP0135) cmake_policy(SET CMP0135 NEW) # CMake 3.24+ Set the date/time for extracted files to time of extraction diff --git a/build_files/build_environment/patches/cmakelists_gmpxx.txt b/build_files/build_environment/patches/cmakelists_gmpxx.txt index 5aa6c404035..cc8204f424f 100644 --- a/build_files/build_environment/patches/cmakelists_gmpxx.txt +++ b/build_files/build_environment/patches/cmakelists_gmpxx.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.10) project(libgmpxx) include_directories(. cxx ${GMP_INCLUDE_DIR}) diff --git a/build_files/build_environment/patches/cmakelists_lcms.txt b/build_files/build_environment/patches/cmakelists_lcms.txt index cd7b45621ec..8fc58dd638c 100644 --- a/build_files/build_environment/patches/cmakelists_lcms.txt +++ b/build_files/build_environment/patches/cmakelists_lcms.txt @@ -1,6 +1,6 @@ project(lcms2) -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.10) include_directories(include) diff --git a/build_files/build_environment/patches/cmakelists_potrace.txt b/build_files/build_environment/patches/cmakelists_potrace.txt index c214ff7fd4a..cd0d7544506 100644 --- a/build_files/build_environment/patches/cmakelists_potrace.txt +++ b/build_files/build_environment/patches/cmakelists_potrace.txt @@ -1,5 +1,5 @@ project(potrace) -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.10) include_directories(src/include) diff --git a/build_files/build_environment/patches/cmakelists_theora.txt b/build_files/build_environment/patches/cmakelists_theora.txt index a6260af608e..3c5deb54219 100644 --- a/build_files/build_environment/patches/cmakelists_theora.txt +++ b/build_files/build_environment/patches/cmakelists_theora.txt @@ -1,6 +1,6 @@ # Based on the VCPKG version of theora -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.10) project(theora LANGUAGES C) set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}") @@ -98,4 +98,4 @@ install(TARGETS theora theoraenc theoradec RUNTIME DESTINATION bin LIBRARY DESTINATION bin ARCHIVE DESTINATION lib -) \ No newline at end of file +) diff --git a/build_files/build_environment/patches/tinyxml.diff b/build_files/build_environment/patches/tinyxml.diff index 9965f3e610e..7f5292ac00a 100644 --- a/build_files/build_environment/patches/tinyxml.diff +++ b/build_files/build_environment/patches/tinyxml.diff @@ -4,7 +4,7 @@ diff -Naur tinyxml.orig/CMakeLists.txt tinyxml/CMakeLists.txt @@ -0,0 +1,30 @@ +project(tinyxml) + -+cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.10) + +add_library(tinyxml + STATIC diff --git a/intern/ghost/test/CMakeLists.txt b/intern/ghost/test/CMakeLists.txt index 60fab059b00..f239ad3dae4 100644 --- a/intern/ghost/test/CMakeLists.txt +++ b/intern/ghost/test/CMakeLists.txt @@ -15,7 +15,7 @@ cmake_policy(SET CMP0010 NEW) # Input directories must have `CMakeLists.txt`. cmake_policy(SET CMP0014 NEW) -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(GhostMultiTest)