File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
# Copyright (c) 2019-2020 Cristian Adam
3
3
# All rights reserved.
4
4
5
- cmake_minimum_required (VERSION 3.5 )
5
+ cmake_minimum_required (VERSION 3.10 )
6
6
7
7
if (NOT HUNTER_URL AND NOT HUNTER_SHA1)
8
8
file (
Original file line number Diff line number Diff line change 25
25
# This is a gate file to Hunter package manager.
26
26
# Include this file using `include` command and add package you need, example:
27
27
#
28
- # cmake_minimum_required(VERSION 3.5 )
28
+ # cmake_minimum_required(VERSION 3.10 )
29
29
#
30
30
# include("cmake/HunterGate.cmake")
31
31
# HunterGate(
45
45
option (HUNTER_ENABLED "Enable Hunter package manager support" ON )
46
46
47
47
if (HUNTER_ENABLED)
48
- if (CMAKE_VERSION VERSION_LESS "3.5 " )
48
+ if (CMAKE_VERSION VERSION_LESS "3.10 " )
49
49
message (
50
50
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."
52
52
" Update CMake or set HUNTER_ENABLED to OFF."
53
53
)
54
54
endif ()
@@ -253,7 +253,7 @@ function(hunter_gate_download dir)
253
253
file (
254
254
WRITE
255
255
"${cmakelists} "
256
- "cmake_minimum_required(VERSION 3.5 )\n "
256
+ "cmake_minimum_required(VERSION 3.10 )\n "
257
257
"if(POLICY CMP0114)\n "
258
258
" cmake_policy(SET CMP0114 NEW)\n "
259
259
"endif()\n "
You can’t perform that action at this time.
0 commit comments