Skip to content

Commit

Permalink
Updated CMake version from 3.5 to 3.12 to stop warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRichards-Code committed Dec 9, 2024
1 parent 8eaa782 commit 1fcb5ef
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Applications/GuiSample/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)

file(GLOB SOURCES GuiSample.cpp )
file(GLOB HEADERS "*.h" )
Expand Down
2 changes: 1 addition & 1 deletion Applications/Sample/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)

file(GLOB CMAKE "*.cmake" )

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

file(GLOB CMAKE "*.cmake" )

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)
cmake_policy(SET CMP0091 NEW)
if(SIMUL_PLATFORM_DIR)
set(SIMUL_PLATFORM_FOLDER_PREFIX Platform)
Expand Down
2 changes: 1 addition & 1 deletion Core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2020 Simul Software Ltd, All rights reserved.

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)
# Grab the includes/source files.

file(GLOB SOURCES "*.cpp" )
Expand Down
2 changes: 1 addition & 1 deletion CrossPlatform/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)

file(GLOB SOURCES "*.cpp" )

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

file(GLOB CMAKE "*.cmake")

Expand Down
2 changes: 1 addition & 1 deletion DirectX12/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)
option(PLATFORM_D3D12_ENABLE_PIX "" OFF)
option(PLATFORM_SUPPORT_D3D12_RAYTRACING "" OFF)
option(PLATFORM_SUPPORT_D3D12_VIEWINSTANCING "" OFF)
Expand Down
2 changes: 1 addition & 1 deletion GLES/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)

file(GLOB CMAKE
"*.cmake"
Expand Down
2 changes: 1 addition & 1 deletion ImGui/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2021 Simul Software Ltd, All rights reserved.

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)

if(UNIX)
set(OS_CPP imgui_impl_glfw.cpp)
Expand Down
2 changes: 1 addition & 1 deletion Math/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)

file(GLOB SOURCES
"*.cpp"
Expand Down
2 changes: 1 addition & 1 deletion OpenGL/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)

file(GLOB CMAKE
"*.cmake"
Expand Down
2 changes: 1 addition & 1 deletion Vulkan/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)

option(PLATFORM_SUPPORT_VULKAN_MULTIVIEW "" OFF)
option(PLATFORM_SUPPORT_VULKAN_SAMPLER_YCBCR "" OFF)
Expand Down

0 comments on commit 1fcb5ef

Please sign in to comment.