Skip to content

Commit e938a49

Browse files
committed
Bump CMake minimum required version to 3.10
Newer CMake v4.x dropped support for versions < 3.10
1 parent f0731e3 commit e938a49

7 files changed

Lines changed: 8 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Version History
3030
- ISPCRT v1.25.2 (uses IEEE 754 compliant instructions on ARM for
3131
min/max)
3232
- rkcommon v1.15.2
33+
- CMake v3.10
3334

3435
### Changes in v3.2.0:
3536

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Copyright 2009 Intel Corporation
22
## SPDX-License-Identifier: Apache-2.0
33

4-
cmake_minimum_required(VERSION 3.8)
4+
cmake_minimum_required(VERSION 3.10)
55

66
##############################################################
77
# Language setup

apps/ospTutorial/ospTutorialFindospray/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# should build the ospTutorial app from that install and NOT use your
1313
# local build.
1414

15-
cmake_minimum_required(VERSION 3.5)
15+
cmake_minimum_required(VERSION 3.10)
1616

1717
project(ospTutorialFindospray LANGUAGES C)
1818

doc/compilation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Finding an OSPRay Install with CMake
9191
Client applications using OSPRay can find it with CMake's
9292
`find_package()` command. For example,
9393

94-
find_package(ospray 3.0.0 REQUIRED)
94+
find_package(ospray 3.3.0 REQUIRED)
9595

9696
finds OSPRay via OSPRay's configuration file `osprayConfig.cmake`^[This
9797
file is usually in

doc/prerequisites.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ before you can build OSPRay you need the following prerequisites:
1515

1616
git clone https://github.com/RenderKit/ospray.git
1717

18-
- To build OSPRay you need [CMake](http://www.cmake.org), any form of
18+
- To build OSPRay you need [CMake](http://www.cmake.org) version 3.10
19+
or higher, any form of
1920
C++11 compiler (we recommend using GCC, but also support Clang,
2021
MSVC, and [Intel® C++ Compiler
2122
(icc)](https://software.intel.com/en-us/c-compilers)), and standard

scripts/superbuild/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## Global settings ##
55

6-
cmake_minimum_required(VERSION 3.7)
6+
cmake_minimum_required(VERSION 3.10)
77
set(CMAKE_INSTALL_MESSAGE LAZY)
88

99
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/dependencies)

test_image_data/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Copyright 2009 Intel Corporation
22
## SPDX-License-Identifier: Apache-2.0
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION 3.10)
55

66
project(ospray_test_data NONE)
77

0 commit comments

Comments
 (0)