forked from qt-creator/qt-creator
Do not link packages against libGLX and libOpenGL
Work around QTBUG-89754 Fixes: QTCREATORBUG-26652 Change-Id: I9fb7ba2127a93460184154a9eb2d4c053f8fc22d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
@@ -146,6 +146,10 @@ def common_cmake_arguments(args):
|
||||
pch_option = 'ON' if args.with_pch else 'OFF'
|
||||
cmake_args += ['-DBUILD_WITH_PCH=' + pch_option]
|
||||
|
||||
# work around QTBUG-89754
|
||||
# Qt otherwise adds dependencies on libGLX and libOpenGL
|
||||
cmake_args += ['-DOpenGL_GL_PREFERENCE=LEGACY']
|
||||
|
||||
return cmake_args
|
||||
|
||||
def build_qtcreator(args, paths):
|
||||
|
||||
Reference in New Issue
Block a user