File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ if(MINGW)
37
37
# https://github.com/boostorg/build/issues/301
38
38
hunter_default_version(Boost VERSION 1.64.0)
39
39
else ()
40
- hunter_default_version(Boost VERSION 1.71 .0-p0)
40
+ hunter_default_version(Boost VERSION 1.72 .0-p0)
41
41
endif ()
42
42
43
43
hunter_default_version(BoostCompute VERSION 0.5-p0)
Original file line number Diff line number Diff line change @@ -159,6 +159,17 @@ hunter_add_version(
159
159
a3aae228568555c997927d5f531acb8f4830762c
160
160
)
161
161
162
+ hunter_add_version(
163
+ PACKAGE_NAME
164
+ Boost
165
+ VERSION
166
+ "1.72.0-p0"
167
+ URL
168
+ "https://github.com/cpp-pm/boost/archive/v1.72.0-p0.tar.gz"
169
+ SHA1
170
+ 6022cd8eea0f04cbfb78df8064fcd134e40a7735
171
+ )
172
+
162
173
# up until 1.63 sourcefourge was used
163
174
set (_hunter_boost_base_url "https://downloads.sourceforge.net/project/boost/boost/" )
164
175
hunter_add_version(
Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ target_link_libraries(foo PUBLIC Boost::system)
17
17
18
18
file (GLOB_RECURSE boost_configs "${BOOST_ROOT} /*/BoostConfig.cmake" )
19
19
list (LENGTH boost_configs len)
20
- if (NOT len EQUAL "1 " )
21
- message (FATAL_ERROR "More than one *Config: ${boost_configs} " )
20
+ if (NOT len GREATER "0 " )
21
+ message (FATAL_ERROR "Not even one *Config: ${boost_configs} " )
22
22
endif ()
You can’t perform that action at this time.
0 commit comments