summaryrefslogtreecommitdiffstats
path: root/libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch
diff options
context:
space:
mode:
author Matteo Bernardini2020-03-28 15:26:04 +0100
committer Matteo Bernardini2020-03-28 15:26:04 +0100
commitea43edde1d4617fb627619bf7518163ba171983f (patch)
tree1b0ddc8b44db55aae3a0dfb15904016a8fa43c2b /libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch
parentb622b49c1cf6273e5d73fb1f982bc7e1562b572a (diff)
downloadslackbuilds-a945ae22074fc5ca2e36d072832114aeecc484aa.tar.gz
20200328.1 global branch merge.current-20200328.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)
+