diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-09-28 16:25:16 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-09-30 14:30:17 +0000 |
commit | 22816c6fb26ae869596a3ab5b99f082b5d3ff2da (patch) | |
tree | c3189b06ca90def663b493b4c7b9ae45b2da7796 | |
parent | 4135a606fa9dfabbf47e9e495d0031f7109b9761 (diff) | |
download | qtwebkit-22816c6fb26ae869596a3ab5b99f082b5d3ff2da.tar.gz |
Fix out-of-source build with MSVC
MSVC does not search the same directory as the source file, so we need
to give the correct -I flags so #include "xxx" will work.
Change-Id: I42e7ef1a481840699a8dffff14084870461dbc47
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-rw-r--r-- | Source/ThirdParty/ANGLE/DerivedSources.pri | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/ThirdParty/ANGLE/DerivedSources.pri b/Source/ThirdParty/ANGLE/DerivedSources.pri index 8f950e82c..686c8266f 100644 --- a/Source/ThirdParty/ANGLE/DerivedSources.pri +++ b/Source/ThirdParty/ANGLE/DerivedSources.pri @@ -11,6 +11,13 @@ sanitizedFile = $$toSanitizedPath($$_FILE_) equals(sanitizedFile, $$toSanitizedPath($$_PRO_FILE_)):TEMPLATE = derived +INCLUDEPATH += \ + $$PWD/include \ + $$PWD/include/GLSLANG \ + $$PWD/include/KHR \ + $$PWD/src \ + $$PWD/src/compiler/preprocessor + ANGLE_FLEX_SOURCES = \ $$PWD/src/compiler/glslang.l \ $$PWD/src/compiler/preprocessor/Tokenizer.l |