summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-28 14:41:53 (GMT)
committerBrad King <brad.king@kitware.com>2022-02-28 14:46:59 (GMT)
commit55db2cf1e59a2138992ae673db96c0a40f87324a (patch)
treec040adb09a5f16f24d147098887d62ff1dc38364 /Source/cmGlobalXCodeGenerator.cxx
parent0883ab385a8d15075cab99a265a20131a37b506d (diff)
downloadCMake-55db2cf1e59a2138992ae673db96c0a40f87324a.zip
CMake-55db2cf1e59a2138992ae673db96c0a40f87324a.tar.gz
CMake-55db2cf1e59a2138992ae673db96c0a40f87324a.tar.bz2
Makefiles: Fix "make depend" with add_custom_command DEPFILE
Since commit cfd8a5ac1f (Makefiles: Add support of DEPFILE for add_custom_command, 2020-12-04, v3.20.0-rc1~237^2~1) we store in `CMAKE_DEPENDS_DEPENDENCY_FILES` an empty string as the source file with which the dependencies of a custom command depfile are associated. When this list is later expanded by `make depend`, the empty element is removed and breaks list indexing. Fix the list expansion to preserve empty elements.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
0 files changed, 0 insertions, 0 deletions