Skip to content

Commit

Permalink
Updated CMake policy version to resolve deprecation warning.
Browse files Browse the repository at this point in the history
Changed in version 3.27: Compatibility with versions of CMake older than 3.5 is deprecated. Calls to cmake_minimum_required(VERSION) or cmake_policy(VERSION) that do not specify at least 3.5 as their policy version (optionally via ...<max>) will produce a deprecation warning in CMake 3.27 and above.
  • Loading branch information
joe-barnier authored Aug 28, 2024
1 parent 3ca0e22 commit f4ff6b9
Showing 1 changed file with 1 addition and 1 deletion.
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.2 FATAL_ERROR)
cmake_minimum_required(VERSION 3.2...3.5 FATAL_ERROR)

PROJECT(units LANGUAGES CXX)
set(units_VERSION 2.3.1)
Expand Down

0 comments on commit f4ff6b9

Please sign in to comment.