Skip to content

FetchContent: Hard-code a config for the sub-build

If the main project overrides CMAKE_CONFIGURATION_TYPES such that there is no Debug configuration, some multi-config generators can fail because they might assume Debug by default (Visual Studio might do this). Always specify the configuration so that we don't rely on any such defaults.

Fixes: #23177 (closed)

Merge request reports