Browse Source

Merge topic 'test-ConfigSources-config' into release-3.19

3af0671019 Tests: Fix ConfigSources test with empty CMAKE_BUILD_TYPE

Acked-by: Kitware Robot <[email protected]>
Merge-request: !5643
Brad King 4 years ago
parent
commit
3e05e26296
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/ConfigSources/CMakeLists.txt

+ 1 - 1
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)