diff options
author | Brad King <brad.king@kitware.com> | 2019-07-24 13:53:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-24 15:37:31 (GMT) |
commit | d46bac5d38320907cc1f11a223fddd9a11c9b184 (patch) | |
tree | e38aa928a8ea7b7f8194740d813d1c074d04e36e /Source/cmComputeLinkInformation.h | |
parent | 79bcf4e1655ffa38e8f4740b19ec3a14ac567eec (diff) | |
download | CMake-d46bac5d38320907cc1f11a223fddd9a11c9b184.zip CMake-d46bac5d38320907cc1f11a223fddd9a11c9b184.tar.gz CMake-d46bac5d38320907cc1f11a223fddd9a11c9b184.tar.bz2 |
Makefile: Fix regression in dependencies on relative includes
Since commit a13a5c948e (Replace use of CollapseCombinedPath with
CollapseFullPath, 2019-03-19, v3.15.0-rc1~361^2~1), one code path now
calls `CollapseFullPath` with a base path that may be relative.
Backport KWSys commit c6f8e24a3 (SystemTools: Fix CollapseFullPath with
relative base path, 2019-07-24) to handle such base paths.
This case occurs when a build tree is placed in a directory inside a
source tree such that CMake is willing to generate a relative path from
the build tree to the source tree. Add a test covering this case.
Fixes: #19507
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
0 files changed, 0 insertions, 0 deletions