a712a3dad8
- Update to version 0.21.0: * Lots of bugfixes and new features, for details see https://wiki.freecad.org/Release_notes_0.21 and https://github.com/FreeCAD/FreeCAD/releases/tag/0.21 - Drop upstream patches: * 0001-Fix-build-with-NG-6.2.2201-include-BRepMesh_Incremen.patch * 0001-Part-OCCError.h-remove-unneeded-includes.patch * 0001-Drawing-add-missing-include.patch * 0001-FEM-add-missing-include.patch * 0001-Revert-unused-parameter-warning-change.patch * 0001-FEM-femmesh-fix-AttributeError-module-numpy-has-no-a.patch * 0001-Fix-build-with-gcc13.patch - Fix build on aarch64, correctly link OpenGL, add 0001-Fix-variable-name-for-OpenGL-library.patch OBS-URL: https://build.opensuse.org/request/show/1103145 OBS-URL: https://build.opensuse.org/package/show/science/FreeCAD?expand=0&rev=165
28 lines
895 B
Diff
28 lines
895 B
Diff
From a350852845a4427ec09813b8b9e9242a1d30976f Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
|
Date: Wed, 1 Mar 2023 02:42:56 +0100
|
|
Subject: [PATCH] Fix variable name for OpenGL library
|
|
|
|
In case Qt is build with GLES libraries, it does not implicitly add
|
|
the OpenGL library, and Quarter is not linked to the GL library.
|
|
---
|
|
src/Gui/Quarter/CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/Gui/Quarter/CMakeLists.txt b/src/Gui/Quarter/CMakeLists.txt
|
|
index 45ee147fdd..e840e151d0 100644
|
|
--- a/src/Gui/Quarter/CMakeLists.txt
|
|
+++ b/src/Gui/Quarter/CMakeLists.txt
|
|
@@ -30,7 +30,7 @@ IF (Spacenav_FOUND)
|
|
ENDIF(Spacenav_FOUND)
|
|
|
|
|
|
-SET(AllLibs ${Coin_LIBRARY} ${QT_LIBRARIES} ${OPENGL_LIBRARY} ${Extra_libraries})
|
|
+SET(AllLibs ${Coin_LIBRARY} ${QT_LIBRARIES} ${OPENGL_gl_LIBRARY} ${Extra_libraries})
|
|
|
|
|
|
|
|
--
|
|
2.39.1
|
|
|