Commit 74ffcbf0 authored by Zeno Albisser's avatar Zeno Albisser Committed by The Qt Project
Browse files

Mac: Add QMAKE_FRAMEWORKPATH to compiler command line as well.


This is necessary for the compiler to find include
files following the "#include <FRAMEWORK/file>" syntax.

Change-Id: Ia40b6bbe571e2b275a502c2de60cceeecc9b0f6b
Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
Showing with 6 additions and 0 deletions
...@@ -82,6 +82,12 @@ for (lib, LIBS): GYP_CONTENTS += " '$$lib'," ...@@ -82,6 +82,12 @@ for (lib, LIBS): GYP_CONTENTS += " '$$lib',"
for (rpath, QMAKE_RPATHDIR): GYP_CONTENTS += " '$$QMAKE_RPATH$$rpath'," for (rpath, QMAKE_RPATHDIR): GYP_CONTENTS += " '$$QMAKE_RPATH$$rpath',"
GYP_CONTENTS += " ]," GYP_CONTENTS += " ],"
macx {
GYP_CONTENTS += " 'mac_framework_dirs': ["
GYP_CONTENTS += " '$$QMAKE_FRAMEWORKPATH',"
GYP_CONTENTS += " ],"
}
!isEmpty(QMAKE_CFLAGS) { !isEmpty(QMAKE_CFLAGS) {
GYP_CONTENTS += " 'cflags': [" GYP_CONTENTS += " 'cflags': ["
for(flag, QMAKE_CFLAGS): GYP_CONTENTS += " '$$flag'," for(flag, QMAKE_CFLAGS): GYP_CONTENTS += " '$$flag',"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment