diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-02-24 16:52:36 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-02-25 15:43:16 +0100 |
commit | 1b474118326d0cc7a69b20d22d1e52d9ed42c07e (patch) | |
tree | 23145a30dcc3734f9253ce5f1f9fbef78dffda60 /src/3rdparty/CMakeLists.txt | |
parent | 173079819d6dc57145bbbcc03c0d93726c2176fc (diff) |
CMake: Check for syncqt private headers directory before using
Only existing directory paths should be added to
INTERFACE_INCLUDE_DIRECTORIES, otherwise projects fail to configure.
If after running syncqt there is no private headers directory created
(due to the module not having any _p.h files), such a path should not
be added as an interface include path.
This fixes consumers of QtZlib, where there are no private headers.
Change-Id: I3fd1a7b5eb8f816d178d6d91223baa6f377e6f9f
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Diffstat (limited to 'src/3rdparty/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions