Skip to content

Commit

Permalink
Increase CMake minimum required version to 3.21
Browse files Browse the repository at this point in the history
Maybe increasing the minimum CMake version is not necessary, but
the CMake documentation states:
Referencing `$<TARGET_OBJECTS>` in target_link_libraries calls worked in
versions of CMake prior to 3.21 for some cases, but was not fully
supported.
  • Loading branch information
jrohel committed Jan 13, 2025
1 parent 79493ef commit ec9cd41
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,5 +1,5 @@
message("Running CMake on dnf5...")
cmake_minimum_required(VERSION 3.6)
cmake_minimum_required(VERSION 3.21)


include(VERSION.cmake)
Expand Down

0 comments on commit ec9cd41

Please sign in to comment.