File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22# Copyright (c) 2019-2020 Cristian Adam
33# All rights reserved.
44
5- cmake_minimum_required (VERSION 3.5 )
5+ cmake_minimum_required (VERSION 3.10 )
66
77if (NOT HUNTER_URL AND NOT HUNTER_SHA1)
88 file (
Original file line number Diff line number Diff line change 2525# This is a gate file to Hunter package manager.
2626# Include this file using `include` command and add package you need, example:
2727#
28- # cmake_minimum_required(VERSION 3.5 )
28+ # cmake_minimum_required(VERSION 3.10 )
2929#
3030# include("cmake/HunterGate.cmake")
3131# HunterGate(
4545option (HUNTER_ENABLED "Enable Hunter package manager support" ON )
4646
4747if (HUNTER_ENABLED)
48- if (CMAKE_VERSION VERSION_LESS "3.5 " )
48+ if (CMAKE_VERSION VERSION_LESS "3.10 " )
4949 message (
5050 FATAL_ERROR
51- "At least CMake version 3.5 required for Hunter dependency management."
51+ "At least CMake version 3.10 required for Hunter dependency management."
5252 " Update CMake or set HUNTER_ENABLED to OFF."
5353 )
5454 endif ()
@@ -253,7 +253,7 @@ function(hunter_gate_download dir)
253253 file (
254254 WRITE
255255 "${cmakelists} "
256- "cmake_minimum_required(VERSION 3.5 )\n "
256+ "cmake_minimum_required(VERSION 3.10 )\n "
257257 "if(POLICY CMP0114)\n "
258258 " cmake_policy(SET CMP0114 NEW)\n "
259259 "endif()\n "
You can’t perform that action at this time.
0 commit comments