Skip to content

Commit 5f388dc

Browse files
authored
Merge pull request #6 from cristianadam/fix-configuration-types
Do not set HUNTER_CONFIGURATION_TYPES to empty build
2 parents 25905fa + 7e06941 commit 5f388dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ configure_file(
7979
${CMAKE_BINARY_DIR}/HunterSetup.cmake @ONLY)
8080

8181
# Build only the current CMAKE_BUILD_TYPE
82-
if (NOT HUNTER_CONFIGURATION_TYPES)
82+
if (NOT HUNTER_CONFIGURATION_TYPES AND CMAKE_BUILD_TYPE)
8383
set(HUNTER_CONFIGURATION_TYPES ${CMAKE_BUILD_TYPE} CACHE STRING "Configurations HUNTER will build")
8484
endif()
8585

0 commit comments

Comments
 (0)