summaryrefslogtreecommitdiff
path: root/sci-geosciences/opencpn-plugin-dr/files/cmake.patch
blob: ab0bb813c321aef28aa2fe609e47741b0e9725f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff -ur DR_pi-4.0.0.orig/CMakeLists.txt DR_pi-4.0.0/CMakeLists.txt
--- DR_pi-4.0.0.orig/CMakeLists.txt	2021-11-04 00:32:44.000000000 -1000
+++ DR_pi-4.0.0/CMakeLists.txt	2021-11-29 00:11:03.998266321 -1000
@@ -61,9 +61,10 @@
 )
 include(Targets)
 create_targets(${FLATPAK_MANIFEST})
-if ("${BUILD_TYPE}" STREQUAL "")
-  return ()
-endif ()
+#if ("${BUILD_TYPE}" STREQUAL "")
+#  return ()
+#endif ()
+include(PluginLibs)
 
 if (NOT ${BUILD_TYPE} STREQUAL "flatpak")
   # Build package as required (flatpak already dealt with).
diff -ur DR_pi-4.0.0.orig/cmake/PluginInstall.cmake DR_pi-4.0.0/cmake/PluginInstall.cmake
--- DR_pi-4.0.0.orig/cmake/PluginInstall.cmake	2021-11-04 00:32:44.000000000 -1000
+++ DR_pi-4.0.0/cmake/PluginInstall.cmake	2021-11-29 00:10:04.241099544 -1000
@@ -11,7 +11,7 @@
 # the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 
-include(Metadata)
+#include(Metadata)
 
 if (APPLE)
   install(
diff -ur DR_pi-4.0.0.orig/cmake/Targets.cmake DR_pi-4.0.0/cmake/Targets.cmake
--- DR_pi-4.0.0.orig/cmake/Targets.cmake	2021-11-04 00:32:44.000000000 -1000
+++ DR_pi-4.0.0/cmake/Targets.cmake	2021-11-29 00:10:18.954386822 -1000
@@ -19,7 +19,7 @@
   return()
 endif ()
 
-include(Metadata)
+#include(Metadata)
 
 if (UNIX AND NOT APPLE AND NOT QT_ANDROID)
   set(_LINUX ON)