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 <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
This commit is contained in:
Andrej730
2024-02-06 11:58:40 +05:00
parent ece9e2fdd1
commit e355a33d48
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
@@ -13,7 +13,7 @@ you how to compile and install IfcOpenShell.
You will need:
- `Git <https://git-scm.com/>`__
- `CMake <https://cmake.org/>`__ (3.1.3 or newer)
- `CMake <https://cmake.org/>`__ (3.5 or newer)
IfcOpenShell depends on: