summaryrefslogtreecommitdiff
path: root/sci-geosciences/opencpn/files/opencpn-5.2.4-cmake.patch
blob: 4c2ea09ae1591653f68ffc6a92502607c8a1ff08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/CMakeLists.txt	2021-11-02 01:45:56.488999411 -1000
+++ b/CMakeLists.txt	2021-11-02 01:51:53.343219957 -1000
@@ -756,9 +756,9 @@
   # looked for them. This is a nasty fix which might fail miserably. Assumption:
   # All builds using GTK uses unicode and wxWidgets 3.0
   if (GTK3_FOUND)
-    list(APPEND wxWidgets_LIBRARIES "-lwx_gtk3u_aui-3.0")
+    list(APPEND wxWidgets_LIBRARIES "-lwx_gtk3u_aui-3.0-gtk3")
     if (OPENGL_FOUND)
-      list(APPEND wxWidgets_LIBRARIES "-lwx_gtk3u_gl-3.0")
+      list(APPEND wxWidgets_LIBRARIES "-lwx_gtk3u_gl-3.0-gtk3")
     endif ()
   endif ()