mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-19 13:40:42 -06:00
When `cmake --install` is run with no `--config` passed, use `CMAKE_DEFAULT_CONFIGS` to determine which config(s) to install. Fixes: #21475
5 lines
327 B
CMake
5 lines
327 B
CMake
if (NOT EXISTS ${RunCMake_TEST_BINARY_DIR}/install/bin/Debug/exe${CMAKE_EXECUTABLE_SUFFIX} OR
|
|
NOT EXISTS ${RunCMake_TEST_BINARY_DIR}/install/bin/Release/exe${CMAKE_EXECUTABLE_SUFFIX})
|
|
set(RunCMake_TEST_FAILED "Multi-Config Install with CMAKE_DEFAULT_CONFIGS set did not install all specified configs by default")
|
|
endif()
|