summaryrefslogtreecommitdiffstats
path: root/cmake/QtBaseConfigureTests.cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-19 19:35:16 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-23 01:32:39 +0200
commit5d81a5d4f9ad5b3cfb12e2c00fe63a29d056868f (patch)
tree3e24700ae313724a93a29108338e9542eba9a1b8 /cmake/QtBaseConfigureTests.cmake
parent2a3a99fe44d18e3560a4b7a05c230a59335da401 (diff)
CMake: Fix headersclean to build with proper flags
It's not sufficient to pass -I{prefix}/include when doing the header clean check. We need to propagate all target include directories and compile definitions, and also the compile flags for good measure. For macOS frameworks we also need to explicitly pass an -iframework flag (qmake passses -F instead), to ensure that <QtGui/qfoo.h> style includes are found when building other repos than qtbase. Task-number: QTBUG-82615 Change-Id: I76d12340bc01c5c948ff04df9a3df384dcb7e076 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'cmake/QtBaseConfigureTests.cmake')
0 files changed, 0 insertions, 0 deletions