Skip to content

Commit 0c0b5d1

Browse files
committed
Remove cmake_minimum_required from DownloadProject configuration
We already have a top-level minimum requirement for CMake >= 3.8, so don't need to specific that 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 0c0b5d1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmake/DownloadProject.CMakeLists.cmake.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
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)
5-
64
project(${DL_ARGS_PROJ}-download NONE)
75

86
include(ExternalProject)

0 commit comments

Comments
 (0)