Skip to content

Commit 45919f8

Browse files
committed
Use same CMake minimum version in DownloadProject configuration
We already have a top-level minimum requirement for CMake >= 3.8, so don't need to specify a lower requirement in a file included from the top level. Having a requirement as low as 2.8.2 broke building on newer version of CMake, which error with "Compatibility with CMake < 3.5 has been removed from CMake." (seen in GitHub runners with Ubuntu 24.04).
1 parent 32143dd commit 45919f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/DownloadProject.CMakeLists.cmake.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved MIT License. See accompanying
22
# file LICENSE or https://github.com/Crascit/DownloadProject for details.
33

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

66
project(${DL_ARGS_PROJ}-download NONE)
77

0 commit comments

Comments
 (0)