Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion conan_provider.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,8 @@ macro(conan_provide_dependency method package_name)
else()
# No configuration overrides, provide sensible defaults
if(_multiconfig_generator)
set(_build_configs Release Debug)
# use specified CMAKE_CONFIGURATION_TYPES otherwhise downstream tools may run into problems
set(_build_configs ${CMAKE_CONFIGURATION_TYPES})
else()
set(_build_configs ${CMAKE_BUILD_TYPE})
endif()
Expand Down