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:05 (GMT) |
commit | 874b62abb4fd76127262181ef5253bddb295ef1a (patch) | |
tree | 6261cbd03c82a06ebad8e68eadfa3b630d2dd66a /Tests | |
parent | 1db4d34694ec595952b88f95182a363f815a4c45 (diff) | |
parent | 77a7edb73fcfee88c4998bd8e4d72aaddc5524e5 (diff) | |
download | CMake-874b62abb4fd76127262181ef5253bddb295ef1a.zip CMake-874b62abb4fd76127262181ef5253bddb295ef1a.tar.gz CMake-874b62abb4fd76127262181ef5253bddb295ef1a.tar.bz2 |
Merge topic 'clang-scan-deps-failed-scan'
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')
-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) |