We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa64192 commit e5424edCopy full SHA for e5424ed
1 file changed
cmake/Hunter/init.cmake
@@ -16,10 +16,12 @@ endif()
16
17
if(NOT CMAKE_CONFIGURATION_TYPES)
18
if(CMAKE_BUILD_TYPE STREQUAL Debug)
19
- set(HUNTER_CONFIGURATION_TYPES Debug)
+ set(CONFIG Debug)
20
else()
21
- set(HUNTER_CONFIGURATION_TYPES Release)
+ set(CONFIG Release)
22
endif()
23
+ set(HUNTER_CONFIGURATION_TYPES ${CONFIG} CACHE STRING "Build type of Hunter packages")
24
+ unset(CONFIG)
25
26
27
HunterGate(
0 commit comments