Pass macOS framework directories to shiboken's preprocessor
Pass macOS framework directories to shiboken's preprocessor

On macOS shiboken skipped all methods that contained OpenGL types like
GLuint. This happened because gl.h was included using an absolute path
which is generated inside global.h.in, whereas subsequent includes like
OpenGL/gltypes.h did not get resolved by the preprocessor due to
missing include paths.

Fix consists in taking the system framework paths that CMake knows
about, and passing them as additional include paths to shiboken.

Task-number: PYSIDE-457
Change-Id: Ic7d9157e95f370074b03bbfbe2f0691a0798a4df
Reviewed-by: Friedemann Kleint <1b9f2592239daaec4856ccc1cfb4d2d55b35fb71@qt.io>
Reviewed-by: Christian Tismer <3f32342346a37828fd9c8841ea4579d28b46cf08@stackless.com>

qtproject/pyside-pyside,qtproject/pyside-pyside,qtproject/pyside-pyside,qtproject/pyside-pyside,qtproject/pyside-pyside