summaryrefslogtreecommitdiffstats
path: root/libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch
diff options
context:
space:
mode:
author Matteo Bernardini2019-11-17 09:41:16 +0100
committer Matteo Bernardini2019-11-17 09:41:16 +0100
commitb1037bdb13cfab1a866971d09462ace5cad56259 (patch)
tree2ede4cb69452c1eff3dbf47b08cf60be0cabeaed /libraries/OpenSceneGraph/0008-Fix_wxWidgets_gl.patch
parented263eba8d75390f0e7789cc9e924e1be2584f69 (diff)
downloadslackbuilds-current-20191117.1.tar.gz
20191117.1 global branch merge.current-20191117.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)
+