diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-25 19:48:30 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-26 11:25:20 +0200 |
commit | 151323b94b20fe2be520e552e995d5e476a788f4 (patch) | |
tree | 406eb8fc3ceb8c7053c2aa022fb88892386fd683 /cmake/QtStandaloneTestsConfig.cmake.in | |
parent | 19d2e61f87f822f1da2bad7108222b075c1816a2 (diff) |
CMake: Add $import_prefix/include as an include path for each Qt module
To support finding Qt headers of modules installed into a different
prefix than the main one, add the $import_prefix/include path as a
public include path for each built Qt module. With this, includes like
#include <QtNetworkAuth/QOAuth2AuthorizationCodeFlow> will work.
The macOS framework case is handled automagically by CMake, which
ends up passing '-iframework $import_prefix/lib'.
Change-Id: I02ce9cacf157aab9721c1d6073a377607c5b89c7
Fixes: QTBUG-86881
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake/QtStandaloneTestsConfig.cmake.in')
0 files changed, 0 insertions, 0 deletions