From e355a33d48c5fa3d2e1563e4d275c2bccf8384fc Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 6 Feb 2024 11:58:40 +0500 Subject: [PATCH] bump required cmake version to remove deprecation warning deprecation warning: CMake Deprecation Warning at CMakeLists.txt:20 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. --- cmake/CMakeLists.txt | 2 +- src/ifcopenshell-python/docs/ifcopenshell/installation.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index c44f9ddc77..419e826aaa 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -17,7 +17,7 @@ # # ################################################################################ -cmake_minimum_required(VERSION 3.1.3) +cmake_minimum_required(VERSION 3.5) set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) # not necessary, but encouraged diff --git a/src/ifcopenshell-python/docs/ifcopenshell/installation.rst b/src/ifcopenshell-python/docs/ifcopenshell/installation.rst index c9942bb038..25faadb764 100644 --- a/src/ifcopenshell-python/docs/ifcopenshell/installation.rst +++ b/src/ifcopenshell-python/docs/ifcopenshell/installation.rst @@ -13,7 +13,7 @@ you how to compile and install IfcOpenShell. You will need: - `Git `__ -- `CMake `__ (3.1.3 or newer) +- `CMake `__ (3.5 or newer) IfcOpenShell depends on: