forked from qt-creator/qt-creator
Do not link packages against libGLX and libOpenGL
Also for the additional plugins.
Work around QTBUG-89754
Amends 7d948b0c5d
Fixes: QTCREATORBUG-26744
Change-Id: I5cafcbe77a37fcd9c5432ef45aa364066d772be8
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -107,6 +107,10 @@ def build(args, paths):
|
||||
# TODO this works around a CMake bug https://gitlab.kitware.com/cmake/cmake/issues/20119
|
||||
cmake_args += ['-DBUILD_WITH_PCH=OFF']
|
||||
|
||||
# work around QTBUG-89754
|
||||
# Qt otherwise adds dependencies on libGLX and libOpenGL
|
||||
cmake_args += ['-DOpenGL_GL_PREFERENCE=LEGACY']
|
||||
|
||||
if args.with_docs:
|
||||
cmake_args += ['-DWITH_DOCS=ON']
|
||||
|
||||
|
Reference in New Issue
Block a user