@@ -14,8 +14,8 @@ cable_configure_toolchain(DEFAULT cxx11)
14
14
set (HUNTER_CONFIGURATION_TYPES Release CACHE STRING "Build type of Hunter packages" )
15
15
set (HUNTER_JOBS_NUMBER 6 CACHE STRING "Number of parallel builds used by Hunter" )
16
16
HunterGate(
17
- URL "https://github.com/ruslo/hunter/archive/v0.23.6 .tar.gz"
18
- SHA1 "951e8daf57a51708b0e6a00cab342a042db57a2f "
17
+ URL "https://github.com/ruslo/hunter/archive/v0.23.112 .tar.gz"
18
+ SHA1 "4b894e1d5d203f0cc9a77431dbb1b486ab6f4430 "
19
19
LOCAL
20
20
)
21
21
@@ -34,27 +34,27 @@ option(DEVBUILD "Log developer metrics" OFF)
34
34
35
35
# propagates CMake configuration options to the compiler
36
36
function (configureProject)
37
- if (ETHASHCL)
38
- add_definitions (-DETH_ETHASHCL)
39
- endif ()
40
- if (ETHASHCUDA)
41
- add_definitions (-DETH_ETHASHCUDA)
42
- endif ()
43
- if (ETHASHCPU)
44
- add_definitions (-DETH_ETHASHCPU)
45
- endif ()
46
- if (ETHDBUS)
47
- add_definitions (-DETH_DBUS)
48
- endif ()
49
- if (APICORE)
50
- add_definitions (-DAPI_CORE)
51
- endif ()
52
- if (BINKERN)
53
- add_definitions (-DBIN_KERN)
54
- endif ()
55
- if (DEVBUILD)
56
- add_definitions (-DDEV_BUILD)
57
- endif ()
37
+ if (ETHASHCL)
38
+ add_definitions (-DETH_ETHASHCL)
39
+ endif ()
40
+ if (ETHASHCUDA)
41
+ add_definitions (-DETH_ETHASHCUDA)
42
+ endif ()
43
+ if (ETHASHCPU)
44
+ add_definitions (-DETH_ETHASHCPU)
45
+ endif ()
46
+ if (ETHDBUS)
47
+ add_definitions (-DETH_DBUS)
48
+ endif ()
49
+ if (APICORE)
50
+ add_definitions (-DAPI_CORE)
51
+ endif ()
52
+ if (BINKERN)
53
+ add_definitions (-DBIN_KERN)
54
+ endif ()
55
+ if (DEVBUILD)
56
+ add_definitions (-DDEV_BUILD)
57
+ endif ()
58
58
endfunction ()
59
59
60
60
hunter_add_package(Boost COMPONENTS system filesystem thread)
@@ -96,28 +96,28 @@ add_subdirectory(libhwmon)
96
96
add_subdirectory (libpoolprotocols)
97
97
98
98
if (ETHASHCL)
99
- add_subdirectory (libethash-cl)
100
- if (BINKERN)
101
- add_subdirectory (libethash-cl/kernels)
102
- endif ()
99
+ add_subdirectory (libethash-cl)
100
+ if (BINKERN)
101
+ add_subdirectory (libethash-cl/kernels)
102
+ endif ()
103
103
endif ()
104
104
if (ETHASHCUDA)
105
- add_subdirectory (libethash-cuda)
105
+ add_subdirectory (libethash-cuda)
106
106
endif ()
107
107
if (ETHASHCPU)
108
- add_subdirectory (libethash-cpu)
108
+ add_subdirectory (libethash-cpu)
109
109
endif ()
110
110
if (APICORE)
111
- add_subdirectory (libapicore)
111
+ add_subdirectory (libapicore)
112
112
endif ()
113
113
114
114
add_subdirectory (ethminer)
115
115
116
116
117
117
if (WIN32 )
118
- set (CPACK_GENERATOR ZIP)
118
+ set (CPACK_GENERATOR ZIP)
119
119
else ()
120
- set (CPACK_GENERATOR TGZ)
120
+ set (CPACK_GENERATOR TGZ)
121
121
endif ()
122
122
set (CPACK_PACKAGE_FILE_NAME ${PROJECT_NAME} )
123
123
set (CPACK_PACKAGE_CHECKSUM SHA256)
1 commit comments
nnlinh89 commentedon May 4, 2021
Great