diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-06-06 15:38:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-06 18:14:19 (GMT) |
commit | 00e6b67e0c89ca25c5efd78f4a4b27fa53b64e77 (patch) | |
tree | e8f71e2059da9c855c10025e495d1249b2d9ff2c /Help/guide/tutorial/Complete/MathFunctions/MathFunctions.h | |
parent | a4231943117f5ba3dd0fdc6c8b1824334162b69f (diff) | |
download | CMake-00e6b67e0c89ca25c5efd78f4a4b27fa53b64e77.zip CMake-00e6b67e0c89ca25c5efd78f4a4b27fa53b64e77.tar.gz CMake-00e6b67e0c89ca25c5efd78f4a4b27fa53b64e77.tar.bz2 |
Autogen: Fix header detection for paths with symbolic links
When Autogen searches the header for a source files in a target,
the expanded real path is used and not the (possibly symbolic) original path
of the source file. If the source file path contains symbolic links, then the
correct `cmSourceFile` instance of the header won't be found, but a new one
will be generated. This way all header source file properties get lost, which
is problematic especially for the `SKIP_AUTOMOC/UIC/GEN` properties.
This patch changes the header detection in Autogen to use the original source
file path instead of the expanded real source file path.
Fixes: #19346
Diffstat (limited to 'Help/guide/tutorial/Complete/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions