Skip to content

Commit

Permalink
Bump minimum CMake version to 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Feb 9, 2025
1 parent 8e19b4f commit 4eb7d6c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Android/HelloAR/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# Sets the minimum version of CMake required to build the native library.

cmake_minimum_required(VERSION 3.4.1)
cmake_minimum_required(VERSION 3.10)

# Import the ARCore library.
add_library(arcore SHARED IMPORTED)
Expand Down
2 changes: 1 addition & 1 deletion BuildTools/Scripts/github_actions/create_cmake.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cd $1
echo "cmake_minimum_required(VERSION 3.6)" > CMakeLists.txt
echo "cmake_minimum_required(VERSION 3.10)" > CMakeLists.txt
echo "Project(DiligentSamples_Test)" >> CMakeLists.txt
echo "add_subdirectory(DiligentCore)" >> CMakeLists.txt
echo "add_subdirectory(DiligentTools)" >> CMakeLists.txt
Expand Down
2 changes: 1 addition & 1 deletion Samples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.6)
cmake_minimum_required (VERSION 3.10)

if(TARGET DiligentFX)
add_subdirectory(Atmosphere)
Expand Down
2 changes: 1 addition & 1 deletion Tutorials/Tutorial00_HelloLinux/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.6)
cmake_minimum_required (VERSION 3.10)

project(Tutorial00_HelloLinux CXX)

Expand Down
2 changes: 1 addition & 1 deletion UnityPlugin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.6)
cmake_minimum_required (VERSION 3.10)

if (NOT PLATFORM_EMSCRIPTEN)
add_subdirectory(UnityEmulator)
Expand Down
2 changes: 1 addition & 1 deletion UnityPlugin/GhostCubePlugin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cmake_minimum_required (VERSION 3.6)
cmake_minimum_required (VERSION 3.10)

add_subdirectory(PluginSource)
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ before_build:
- cd c:\projects\DiligentSamples\BuildTools\FormatValidation
- validate_format_win.bat
- cd c:\projects
- echo cmake_minimum_required(VERSION 3.6) > CMakeLists.txt
- echo cmake_minimum_required(VERSION 3.10) > CMakeLists.txt
- echo Project(DiligentSamples_Test) >> CMakeLists.txt
- echo add_subdirectory(DiligentCore) >> CMakeLists.txt
- echo add_subdirectory(DiligentTools) >> CMakeLists.txt
Expand Down

0 comments on commit 4eb7d6c

Please sign in to comment.