diff options
author | Orkun Tokdemir <ilhanorkuntokdemir@gmail.com> | 2024-07-22 15:06:04 (GMT) |
---|---|---|
committer | Orkun Tokdemir <ilhanorkuntokdemir@gmail.com> | 2024-07-23 14:58:43 (GMT) |
commit | fb978f001d7574fd91f8c87f37990ac03fc8dfaf (patch) | |
tree | c6462c38709f66e1e1743cf7272cc5eb28790b03 /Source/cmConvertMSBuildXMLToJSON.py | |
parent | 7d8d23957448ef8d70e3f3643d69d3e06ad5a071 (diff) | |
download | CMake-fb978f001d7574fd91f8c87f37990ac03fc8dfaf.zip CMake-fb978f001d7574fd91f8c87f37990ac03fc8dfaf.tar.gz CMake-fb978f001d7574fd91f8c87f37990ac03fc8dfaf.tar.bz2 |
GeneratorTarget: Fix missing system include cache key
When 033dc7ee2f02b0ebdfd1bc4edbcb24d1fc8c4152 introduced
`AddSystemIncludeDirectory()`, the function was not handling the
situation which a system include cache key is not added properly like
in `IsSystemIncludeDirectory()`. The error was not exposed when
`AUTOMOC` is `ON` and `AUTOUIC` is `ON` because
`GetIncludeDirectoriesImplicit()` inside `initMoc()` was triggering
`IsSystemIncludeDirectory()`.
This commit adds calling
`AddSystemIncludeCacheKey()` inside `AddSystemIncludeDirectory()`
when the system include cache key is not added before.
Fixes: #26146
Diffstat (limited to 'Source/cmConvertMSBuildXMLToJSON.py')
0 files changed, 0 insertions, 0 deletions