diff options
author | Craig Scott <craig.scott@crascit.com> | 2024-01-03 12:06:45 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-01-03 12:07:03 (GMT) |
commit | 9001377cf8444b1d1deda7639cac911925e20e21 (patch) | |
tree | c51cf7f17fcc703757d8c0d60d63f5fe024f9fc9 | |
parent | 63cd1120637e97c0c10664f650a0aed22bd53a74 (diff) | |
parent | d0f395525fb4b28af52f5f0d253255e623302bd5 (diff) | |
download | CMake-9001377cf8444b1d1deda7639cac911925e20e21.zip CMake-9001377cf8444b1d1deda7639cac911925e20e21.tar.gz CMake-9001377cf8444b1d1deda7639cac911925e20e21.tar.bz2 |
Merge topic 'tests-quote-possibly-empty-arg'
d0f395525f Tests: Quote possibly empty string(REPLACE) argument
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9116
-rw-r--r-- | Tests/RunCMake/VS10Project/UnityBuildPre2017-check.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/VS10Project/UnityBuildPre2017-check.cmake b/Tests/RunCMake/VS10Project/UnityBuildPre2017-check.cmake index 17e7b46..c904cd0 100644 --- a/Tests/RunCMake/VS10Project/UnityBuildPre2017-check.cmake +++ b/Tests/RunCMake/VS10Project/UnityBuildPre2017-check.cmake @@ -27,7 +27,7 @@ foreach(line IN LISTS tgt_projects_strings) endif() endforeach() -string(REPLACE "\\" "/" unity_source_line ${unity_source_line}) +string(REPLACE "\\" "/" unity_source_line "${unity_source_line}") string(FIND "${unity_source_line}" "CMakeFiles/tgt.dir/Unity/unity_0_c.c" unity_source_file_position) if (unity_source_file_position EQUAL "-1") set(RunCMake_TEST_FAILED "Generated project should include the generated unity source file.") |