summaryrefslogtreecommitdiffstats
path: root/libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch
diff options
context:
space:
mode:
author Matteo Bernardini2020-03-21 11:50:32 +0100
committer Matteo Bernardini2020-03-21 11:50:32 +0100
commit296746ee2c9b89a5b04f160cf22d7f9227330c05 (patch)
tree9813ea75d1309877871a37e478e166931812353e /libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch
parentf846eb1bcc13a8369ba70a1efd953b9140e56c2f (diff)
downloadslackbuilds-296746ee2c9b89a5b04f160cf22d7f9227330c05.tar.gz
20200321.1 global branch merge.current-20200321.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch')
-rw-r--r--libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch b/libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch
new file mode 100644
index 0000000000..70cc792eb8
--- /dev/null
+++ b/libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch
@@ -0,0 +1,12 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -763,8 +763,7 @@ IF (BUILD_OSG_EXAMPLES AND NOT ANDROID
+ FIND_PACKAGE(GLUT)
+ FIND_PACKAGE(FOX)
+
+- SET(wxWidgets_USE_LIBS base core gl net)
+- FIND_PACKAGE(wxWidgets)
++ FIND_PACKAGE(wxWidgets COMPONENTS base core gl net)
+
+ ENDIF(BUILD_OSG_EXAMPLES AND NOT ANDROID)
+