summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-12-22 18:49:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-12-22 18:49:29 (GMT)
commit3e05e26296fc506b9deef357708a48dac8598d33 (patch)
treee5ff6be1afc0060d1e279c2c727378b572c2e121 /Tests
parent81809d1485a0b05c85f7f5b57adfc20c169c5a44 (diff)
parent3af067101959c0877d34d6e9fda3b15a4adba08a (diff)
downloadCMake-3e05e26296fc506b9deef357708a48dac8598d33.zip
CMake-3e05e26296fc506b9deef357708a48dac8598d33.tar.gz
CMake-3e05e26296fc506b9deef357708a48dac8598d33.tar.bz2
Merge topic 'test-ConfigSources-config' into release-3.19
3af0671019 Tests: Fix ConfigSources test with empty CMAKE_BUILD_TYPE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5643
Diffstat (limited to 'Tests')
-rw-r--r--Tests/ConfigSources/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ConfigSources/CMakeLists.txt b/Tests/ConfigSources/CMakeLists.txt
index 1db00cc..9eed1c0 100644
--- a/Tests/ConfigSources/CMakeLists.txt
+++ b/Tests/ConfigSources/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.0)
get_property(_isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if(NOT _isMultiConfig AND NOT CMAKE_BUILD_TYPE)
- set(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build")
+ set(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build" FORCE)
endif()
project(ConfigSources CXX)