summaryrefslogtreecommitdiffstats
path: root/Tests/ConfigSources
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)
commitddd52aac543f9803bed57f55a524f9ef8d802db1 (patch)
tree176616aa9e90b14ff2862bec1332d7d477f6e115 /Tests/ConfigSources
parent440531e0f9abba65839e2e242367c6091cc4789c (diff)
parent3af067101959c0877d34d6e9fda3b15a4adba08a (diff)
downloadCMake-ddd52aac543f9803bed57f55a524f9ef8d802db1.zip
CMake-ddd52aac543f9803bed57f55a524f9ef8d802db1.tar.gz
CMake-ddd52aac543f9803bed57f55a524f9ef8d802db1.tar.bz2
Merge topic 'test-ConfigSources-config'
3af0671019 Tests: Fix ConfigSources test with empty CMAKE_BUILD_TYPE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5643
Diffstat (limited to 'Tests/ConfigSources')
-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 5513af8..ab0b5d8 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)