There was an error while loading. Please reload this page.
2 parents 25905fa + 7e06941 commit 5f388dcCopy full SHA for 5f388dc
CMakeLists.txt
@@ -79,7 +79,7 @@ configure_file(
79
${CMAKE_BINARY_DIR}/HunterSetup.cmake @ONLY)
80
81
# Build only the current CMAKE_BUILD_TYPE
82
-if (NOT HUNTER_CONFIGURATION_TYPES)
+if (NOT HUNTER_CONFIGURATION_TYPES AND CMAKE_BUILD_TYPE)
83
set(HUNTER_CONFIGURATION_TYPES ${CMAKE_BUILD_TYPE} CACHE STRING "Configurations HUNTER will build")
84
endif()
85
0 commit comments