diff options
author | Brad King <brad.king@kitware.com> | 2023-11-22 12:19:45 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-11-22 12:20:04 (GMT) |
commit | cf2f2dfe63863c2cc13cc895e04f544d050ba6dd (patch) | |
tree | 06fd8da207431ac3c2d2a4dc77117c354eeb1895 /Tests/RunCMake | |
parent | 11a2fd6ccaf7225017f6b52b81699b7fd3aa3062 (diff) | |
parent | 77a7edb73fcfee88c4998bd8e4d72aaddc5524e5 (diff) | |
download | CMake-cf2f2dfe63863c2cc13cc895e04f544d050ba6dd.zip CMake-cf2f2dfe63863c2cc13cc895e04f544d050ba6dd.tar.gz CMake-cf2f2dfe63863c2cc13cc895e04f544d050ba6dd.tar.bz2 |
Merge topic 'clang-scan-deps-failed-scan' into release-3.28
77a7edb73f Clang-CXX: copy into the dyndep output on success
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Namniav W <namniav@gmail.com>
Merge-request: !8991
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/CXXModules/examples/scan_properties/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/scan_properties/CMakeLists.txt b/Tests/RunCMake/CXXModules/examples/scan_properties/CMakeLists.txt index f5e5da6..47be1d9 100644 --- a/Tests/RunCMake/CXXModules/examples/scan_properties/CMakeLists.txt +++ b/Tests/RunCMake/CXXModules/examples/scan_properties/CMakeLists.txt @@ -13,8 +13,8 @@ endif () # if not. string(APPEND CMAKE_CXX_MODULE_MAP_FLAG " -DCMAKE_SCANNED_THIS_SOURCE") -string(APPEND CMAKE_CXX_SCANDEP_SOURCE - " -DCMAKE_SCANNED_THIS_SOURCE") +string(REPLACE "<DEFINES>" "<DEFINES> -DCMAKE_SCANNED_THIS_SOURCE" + CMAKE_CXX_SCANDEP_SOURCE "${CMAKE_CXX_SCANDEP_SOURCE}") set_property(SOURCE always_scan.cxx PROPERTY CXX_SCAN_FOR_MODULES 1) |