diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-07-28 00:43:04 +0200 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-07-28 00:43:04 +0200 |
commit | 7a649111cdea2b10f2ec57084416be619867fbfb (patch) | |
tree | 072e1343376835ba4dda7689db02dc51598e005b /Tests/Fortran | |
parent | 5d0d980d9949daf596e10715d686adc95c1c232b (diff) | |
download | cmake-7a649111cdea2b10f2ec57084416be619867fbfb.tar.gz |
Use string(APPEND) in Tests
Automate with:
find Tests -type f -print0 | xargs -0 perl -i -0pe \
's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
Diffstat (limited to 'Tests/Fortran')
-rw-r--r-- | Tests/Fortran/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Fortran/CMakeLists.txt b/Tests/Fortran/CMakeLists.txt index 12689824b2..99fcc0a6dc 100644 --- a/Tests/Fortran/CMakeLists.txt +++ b/Tests/Fortran/CMakeLists.txt @@ -188,7 +188,7 @@ if(TEST_MODULE_DEPENDS) if("${testf_BINARY_DIR}" MATCHES " ") # Our build tree has a space, so the build tool supports spaces. # Test using modules from a path with spaces. - set(External_BINARY_DIR "${External_BINARY_DIR} Build") + string(APPEND External_BINARY_DIR " Build") endif() add_custom_command( OUTPUT ${testf_BINARY_DIR}/ExternalProject |