Fix determination of OpenGL include paths on macOS
Since include paths are fully resolved, we must remove the code that prepends the SDK path to the OpenGL include paths. Change-Id: I80d74629c7fc989a89c3f1d95d6de43b4c1de17a Fixes: QTBUG-73736 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
da55a1b041
commit
37970d7b3e
@ -17,7 +17,7 @@ QMAKE_EXTENSION_SHLIB = dylib
|
|||||||
QMAKE_EXTENSIONS_AUX_SHLIB = tbd
|
QMAKE_EXTENSIONS_AUX_SHLIB = tbd
|
||||||
QMAKE_LIBDIR =
|
QMAKE_LIBDIR =
|
||||||
|
|
||||||
# sdk.prf will prefix the proper SDK sysroot
|
# The proper SDK sysroot will be automatically prepended
|
||||||
QMAKE_INCDIR_OPENGL = \
|
QMAKE_INCDIR_OPENGL = \
|
||||||
/System/Library/Frameworks/OpenGL.framework/Headers \
|
/System/Library/Frameworks/OpenGL.framework/Headers \
|
||||||
/System/Library/Frameworks/AGL.framework/Headers/
|
/System/Library/Frameworks/AGL.framework/Headers/
|
||||||
|
@ -33,10 +33,6 @@ QMAKE_MAC_SDK_PATH = $$xcodeSDKInfo(Path)
|
|||||||
QMAKE_MAC_SDK_PLATFORM_PATH = $$xcodeSDKInfo(PlatformPath)
|
QMAKE_MAC_SDK_PLATFORM_PATH = $$xcodeSDKInfo(PlatformPath)
|
||||||
QMAKE_MAC_SDK_VERSION = $$xcodeSDKInfo(SDKVersion)
|
QMAKE_MAC_SDK_VERSION = $$xcodeSDKInfo(SDKVersion)
|
||||||
|
|
||||||
sysrootified =
|
|
||||||
for(val, QMAKE_INCDIR_OPENGL): sysrootified += $${QMAKE_MAC_SDK_PATH}$$val
|
|
||||||
QMAKE_INCDIR_OPENGL = $$sysrootified
|
|
||||||
|
|
||||||
QMAKESPEC_NAME = $$basename(QMAKESPEC)
|
QMAKESPEC_NAME = $$basename(QMAKESPEC)
|
||||||
|
|
||||||
# Resolve SDK version of various tools
|
# Resolve SDK version of various tools
|
||||||
|
Loading…
x
Reference in New Issue
Block a user