diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-28 09:00:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-28 18:07:24 (GMT) |
commit | a8b7cbb787bfc3ebb139ecabac03be332cc7d6ff (patch) | |
tree | b5f699901d3e212daea8907ccbdd273cada059ca /CTestConfig.cmake | |
parent | 97c163f5f7bd9c056b6ca0dd03f1b239ff61764b (diff) | |
download | CMake-a8b7cbb787bfc3ebb139ecabac03be332cc7d6ff.zip CMake-a8b7cbb787bfc3ebb139ecabac03be332cc7d6ff.tar.gz CMake-a8b7cbb787bfc3ebb139ecabac03be332cc7d6ff.tar.bz2 |
Autogen: Do not treat hard-coded -I/usr/include exclusion as implicit include
The `cmLocalGenerator::GetIncludeDirectoriesImplicit` method is called
by `cmQtAutoGenInitializer` to get the compiler's list of implicit
include directories. Since commit 557b2d6e65 (Fix regression in
-I/usr/include exclusion logic, 2019-02-13, v3.14.0-rc2~6^2~2) the
method hard-codes exclusion of `/usr/include` for historical reasons.
However, it should not be reported as a real implicit include directory
unless the compiler really has it.
Refactor the logic to distinguish the hard-coded exclusion of
`/usr/include` from the real list of implicit include directories.
Fixes: #19100
Diffstat (limited to 'CTestConfig.cmake')
0 files changed, 0 insertions, 0 deletions