Skip to content

Commit 59fdb8d

Browse files
author
Igor Egorov
committed
Try fix build
1 parent 83c8b4f commit 59fdb8d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ endif ()
3434
if (PACKAGE_MANAGER STREQUAL "hunter")
3535
include(cmake/HunterGate.cmake)
3636
HunterGate(
37-
URL https://github.com/qdrvm/hunter/archive/refs/tags/v0.25.3-qdrvm26.zip
38-
SHA1 21e8e29f562962e97fc8bcd35a4ad5244794c7fc
37+
URL https://github.com/qdrvm/hunter/archive/refs/tags/v0.25.3-qdrvm28.tar.gz
38+
SHA1 a4f1b0f42464e07790b7f90b783a822d71be6c6d
3939
)
4040
endif ()
4141

@@ -55,8 +55,10 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
5555

5656
if (PACKAGE_MANAGER STREQUAL "hunter")
5757
hunter_add_package(Boost)
58+
find_package(Boost)
59+
else()
60+
find_package(Boost CONFIG REQUIRED COMPONENTS endian multiprecision)
5861
endif ()
59-
find_package(Boost CONFIG REQUIRED COMPONENTS endian multiprecision)
6062

6163
if (PACKAGE_MANAGER STREQUAL "hunter")
6264
hunter_add_package(qtils)

cmake/HunterGate.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function(hunter_gate_download dir)
221221
hunter_gate_internal_error("Empty 'dir' argument")
222222
endif()
223223

224-
string(COMPARE EQUAL "${HUNTER_GATE_SHA1}" "" is_bad)
224+
string(COMPARE EQUAL "${HUNTER_GATE_SHA1}" "" iCOMPs_bad)
225225
if(is_bad)
226226
hunter_gate_internal_error("HUNTER_GATE_SHA1 empty")
227227
endif()

0 commit comments

Comments
 (0)