Skip to content

Commit d1bdb1e

Browse files
committed
Update CMake minimum version
SaschaWillems#1199
1 parent b56067b commit d1bdb1e

File tree

98 files changed

+292
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+292
-102
lines changed

BUILD.md

Lines changed: 1 addition & 1 deletion

CMakeLists.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (C) 2016-2025 by Sascha Willems - www.saschawillems.de
22
# This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
33

4-
cmake_minimum_required(VERSION 3.4 FATAL_ERROR)
4+
cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
55
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
66

77
set(NAME vulkanExamples)
@@ -26,11 +26,8 @@ OPTION(FORCE_VALIDATION "Forces validation on for all samples at compile time (p
2626

2727
set(RESOURCE_INSTALL_DIR "" CACHE PATH "Path to install resources to (leave empty for running uninstalled)")
2828

29-
# Use FindVulkan module added with CMAKE 3.7
30-
if (NOT CMAKE_VERSION VERSION_LESS 3.7.0)
31-
message(STATUS "Using module to find Vulkan")
32-
find_package(Vulkan)
33-
endif()
29+
message(STATUS "Using module to find Vulkan")
30+
find_package(Vulkan)
3431

3532
IF(UNIX AND NOT APPLE)
3633
set(LINUX TRUE)

android/examples/_template/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
cmake_minimum_required(VERSION 3.4.1 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
2+
3+
24

35
set(NAME %EXAMPLE_FOLDER%)
46

android/examples/bloom/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
cmake_minimum_required(VERSION 3.4.1 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
2+
3+
24

35
set(NAME bloom)
46

android/examples/bufferdeviceaddress/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
cmake_minimum_required(VERSION 3.4.1 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
2+
3+
24

35
set(NAME bufferdeviceaddress)
46

android/examples/computecloth/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
cmake_minimum_required(VERSION 3.4.1 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
2+
3+
24

35
set(NAME computecloth)
46

android/examples/computecullandlod/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
cmake_minimum_required(VERSION 3.4.1 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
2+
3+
24

35
set(NAME computecullandlod)
46

android/examples/computeheadless/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
cmake_minimum_required(VERSION 3.4.1 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
2+
3+
24

35
set(NAME computeheadless)
46

android/examples/computenbody/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
cmake_minimum_required(VERSION 3.4.1 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
2+
3+
24

35
set(NAME computenbody)
46

android/examples/computeparticles/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
cmake_minimum_required(VERSION 3.4.1 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
2+
3+
24

35
set(NAME computeparticles)
46

0 commit comments

Comments
 (0)