diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-05-09 13:52:36 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2016-05-09 13:11:50 +0000 |
commit | 605ea627cc4fdd1d64e7a1388ed442293ffd0981 (patch) | |
tree | 753d9a39f07a5c4394baf5c8ad99b894f8d61d29 /src | |
parent | 3d34ccf4d9afb9d0b1e5557e018c76d1106dcc1b (diff) | |
download | qt-creator-605ea627cc4fdd1d64e7a1388ed442293ffd0981.tar.gz |
don't add system paths to INCLUDEPATHv4.0.0
Task-number: QTCREATORBUG-16217
Change-Id: Ib88db8cc27d44834997e96d91e3bca8824e81f9b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/clang/clang_installation.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/clang/clang_installation.pri b/src/shared/clang/clang_installation.pri index 55333e9569..d19bab68d8 100644 --- a/src/shared/clang/clang_installation.pri +++ b/src/shared/clang/clang_installation.pri @@ -101,6 +101,8 @@ unix { !contains(QMAKE_DEFAULT_LIBDIRS, $$LLVM_LIBDIR): LLVM_LIBS = -L$${LLVM_LIBDIR} LLVM_LIBS += -l$${clang_lib} + + contains(QMAKE_DEFAULT_INCDIRS, $$LLVM_INCLUDEPATH): LLVM_INCLUDEPATH = } isEmpty(LLVM_VERSION): error("Cannot determine clang version at $$LLVM_INSTALL_DIR") |