From 14fce79137ac2e227e8c47ce74d573352d7fd80c Mon Sep 17 00:00:00 2001 From: assiduous Date: Sat, 7 Dec 2024 17:15:57 -0800 Subject: [PATCH] Bumped minimum CMake version to 3.10 --- BuildTools/CMakeLists.txt | 2 +- BuildTools/File2Include/CMakeLists.txt | 2 +- Common/CMakeLists.txt | 2 +- Graphics/Archiver/CMakeLists.txt | 2 +- Graphics/CMakeLists.txt | 2 +- Graphics/GraphicsAccessories/CMakeLists.txt | 2 +- Graphics/GraphicsEngine/CMakeLists.txt | 2 +- Graphics/GraphicsEngineNextGenBase/CMakeLists.txt | 2 +- Graphics/GraphicsEngineOpenGL/CMakeLists.txt | 2 +- Graphics/GraphicsTools/CMakeLists.txt | 2 +- Graphics/HLSL2GLSLConverterLib/CMakeLists.txt | 2 +- Graphics/ShaderTools/CMakeLists.txt | 2 +- Platforms/Android/CMakeLists.txt | 2 +- Platforms/Apple/CMakeLists.txt | 2 +- Platforms/Basic/CMakeLists.txt | 2 +- Platforms/CMakeLists.txt | 2 +- Platforms/Emscripten/CMakeLists.txt | 2 +- Platforms/Linux/CMakeLists.txt | 2 +- Platforms/UWP/CMakeLists.txt | 2 +- Platforms/Win32/CMakeLists.txt | 2 +- Primitives/CMakeLists.txt | 2 +- Tests/CMakeLists.txt | 2 +- Tests/DiligentCoreTest/CMakeLists.txt | 2 +- Tests/IncludeTest/CMakeLists.txt | 2 +- ThirdParty/glew/CMakeLists.txt | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/BuildTools/CMakeLists.txt b/BuildTools/CMakeLists.txt index 1326031ec..331f3a746 100644 --- a/BuildTools/CMakeLists.txt +++ b/BuildTools/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) add_subdirectory(File2Include) diff --git a/BuildTools/File2Include/CMakeLists.txt b/BuildTools/File2Include/CMakeLists.txt index 4c7af2823..839b9ec20 100644 --- a/BuildTools/File2Include/CMakeLists.txt +++ b/BuildTools/File2Include/CMakeLists.txt @@ -1,3 +1,3 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) set(FILE2STRING_PATH "${CMAKE_CURRENT_SOURCE_DIR}/script.py" CACHE INTERNAL "File2String utility") diff --git a/Common/CMakeLists.txt b/Common/CMakeLists.txt index 71f129c37..c61d9bf24 100644 --- a/Common/CMakeLists.txt +++ b/Common/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-Common CXX) diff --git a/Graphics/Archiver/CMakeLists.txt b/Graphics/Archiver/CMakeLists.txt index 6af0f4485..c77577b04 100644 --- a/Graphics/Archiver/CMakeLists.txt +++ b/Graphics/Archiver/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-Archiver CXX) diff --git a/Graphics/CMakeLists.txt b/Graphics/CMakeLists.txt index 49bbb9ad7..41cbdbd65 100644 --- a/Graphics/CMakeLists.txt +++ b/Graphics/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) set(DLL_REL_SUFFIX _${ARCH}r) set(DLL_DBG_SUFFIX _${ARCH}d) diff --git a/Graphics/GraphicsAccessories/CMakeLists.txt b/Graphics/GraphicsAccessories/CMakeLists.txt index fb82c4706..2f14ede85 100644 --- a/Graphics/GraphicsAccessories/CMakeLists.txt +++ b/Graphics/GraphicsAccessories/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-GraphicsAccessories CXX) diff --git a/Graphics/GraphicsEngine/CMakeLists.txt b/Graphics/GraphicsEngine/CMakeLists.txt index 0d6bbedaa..511293d09 100644 --- a/Graphics/GraphicsEngine/CMakeLists.txt +++ b/Graphics/GraphicsEngine/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-GraphicsEngine CXX) diff --git a/Graphics/GraphicsEngineNextGenBase/CMakeLists.txt b/Graphics/GraphicsEngineNextGenBase/CMakeLists.txt index 148c1a7d1..2fabcb9aa 100644 --- a/Graphics/GraphicsEngineNextGenBase/CMakeLists.txt +++ b/Graphics/GraphicsEngineNextGenBase/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-GraphicsEngineNextGenBase CXX) diff --git a/Graphics/GraphicsEngineOpenGL/CMakeLists.txt b/Graphics/GraphicsEngineOpenGL/CMakeLists.txt index 839dad726..6f65a52fc 100644 --- a/Graphics/GraphicsEngineOpenGL/CMakeLists.txt +++ b/Graphics/GraphicsEngineOpenGL/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-GraphicsEngineOpenGL CXX) diff --git a/Graphics/GraphicsTools/CMakeLists.txt b/Graphics/GraphicsTools/CMakeLists.txt index c7f87063b..48ab35656 100644 --- a/Graphics/GraphicsTools/CMakeLists.txt +++ b/Graphics/GraphicsTools/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-GraphicsTools CXX) diff --git a/Graphics/HLSL2GLSLConverterLib/CMakeLists.txt b/Graphics/HLSL2GLSLConverterLib/CMakeLists.txt index 571be6327..05d5896d0 100644 --- a/Graphics/HLSL2GLSLConverterLib/CMakeLists.txt +++ b/Graphics/HLSL2GLSLConverterLib/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-HLSL2GLSLConverterLib CXX) diff --git a/Graphics/ShaderTools/CMakeLists.txt b/Graphics/ShaderTools/CMakeLists.txt index 87c06287f..2c988c091 100644 --- a/Graphics/ShaderTools/CMakeLists.txt +++ b/Graphics/ShaderTools/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-ShaderTools CXX) diff --git a/Platforms/Android/CMakeLists.txt b/Platforms/Android/CMakeLists.txt index 0c23bd529..260aaa5dd 100644 --- a/Platforms/Android/CMakeLists.txt +++ b/Platforms/Android/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-AndroidPlatform CXX) diff --git a/Platforms/Apple/CMakeLists.txt b/Platforms/Apple/CMakeLists.txt index d43c57e29..4c062f70e 100644 --- a/Platforms/Apple/CMakeLists.txt +++ b/Platforms/Apple/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-ApplePlatform CXX) diff --git a/Platforms/Basic/CMakeLists.txt b/Platforms/Basic/CMakeLists.txt index 331e1d418..4837296a5 100644 --- a/Platforms/Basic/CMakeLists.txt +++ b/Platforms/Basic/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-BasicPlatform CXX) diff --git a/Platforms/CMakeLists.txt b/Platforms/CMakeLists.txt index 35ac85b56..cb4a37155 100644 --- a/Platforms/CMakeLists.txt +++ b/Platforms/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) add_library(Diligent-PlatformInterface INTERFACE) diff --git a/Platforms/Emscripten/CMakeLists.txt b/Platforms/Emscripten/CMakeLists.txt index 7b7de86e6..62485211c 100644 --- a/Platforms/Emscripten/CMakeLists.txt +++ b/Platforms/Emscripten/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-EmscriptenPlatform CXX) diff --git a/Platforms/Linux/CMakeLists.txt b/Platforms/Linux/CMakeLists.txt index 347d79868..9dbed7060 100644 --- a/Platforms/Linux/CMakeLists.txt +++ b/Platforms/Linux/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-LinuxPlatform CXX) diff --git a/Platforms/UWP/CMakeLists.txt b/Platforms/UWP/CMakeLists.txt index f610f7177..af72c4f8d 100644 --- a/Platforms/UWP/CMakeLists.txt +++ b/Platforms/UWP/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.8) +cmake_minimum_required (VERSION 3.10) project(Diligent-UniversalWindowsPlatform CXX) diff --git a/Platforms/Win32/CMakeLists.txt b/Platforms/Win32/CMakeLists.txt index 5ef3acbb3..7084b19ca 100644 --- a/Platforms/Win32/CMakeLists.txt +++ b/Platforms/Win32/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-Win32Platform CXX) diff --git a/Primitives/CMakeLists.txt b/Primitives/CMakeLists.txt index aa30de1ac..15dd3046d 100644 --- a/Primitives/CMakeLists.txt +++ b/Primitives/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(Diligent-Primitives CXX) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index e90f5575e..29f36ae67 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) if(TARGET gtest) add_subdirectory(TestFramework) diff --git a/Tests/DiligentCoreTest/CMakeLists.txt b/Tests/DiligentCoreTest/CMakeLists.txt index a8b0efdd2..59cb32935 100644 --- a/Tests/DiligentCoreTest/CMakeLists.txt +++ b/Tests/DiligentCoreTest/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) if (PLATFORM_EMSCRIPTEN) set(CMAKE_EXECUTABLE_SUFFIX ".html") diff --git a/Tests/IncludeTest/CMakeLists.txt b/Tests/IncludeTest/CMakeLists.txt index d61d1a1e6..01f089d78 100644 --- a/Tests/IncludeTest/CMakeLists.txt +++ b/Tests/IncludeTest/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(DiligentCore-IncludeTest) diff --git a/ThirdParty/glew/CMakeLists.txt b/ThirdParty/glew/CMakeLists.txt index dc00c7227..87142a444 100644 --- a/ThirdParty/glew/CMakeLists.txt +++ b/ThirdParty/glew/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required (VERSION 3.10) project(glew-static)