aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/gtk3/cairo-cpp-linkage.patch
blob: dce7739b625c22c1fa9ee93a1f8c0c137e877a86 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
diff --git a/gtk/meson.build b/gtk/meson.build
index 79f4f0d..33a7723 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -1074,6 +1074,7 @@ gtk_query_settings = executable(
   'gtk-query-settings.c',
   c_args: gtk_cargs,
   dependencies: libgtk_dep,
+  link_language: 'cpp',
   install: true
 )
 gtk_tools += gtk_query_settings
@@ -1083,6 +1084,7 @@ gtk_builder_tool = executable(
   'gtk-builder-tool.c',
   c_args: gtk_cargs,
   dependencies: libgtk_dep,
+  link_language: 'cpp',
   install: true
 )
 gtk_tools += gtk_builder_tool
@@ -1115,6 +1117,7 @@ gtk_update_icon_cache = executable(
   extra_update_icon_cache_objs,
   c_args: gtk_cargs,
   dependencies: libgtk_dep,
+  link_language: 'cpp',
   install: true
 )
 gtk_tools += gtk_update_icon_cache
@@ -1125,6 +1128,7 @@ gtk_query_immodules = executable(
   'gtkutils.c',
   c_args: gtk_cargs,
   dependencies: libgtk_dep,
+  link_language: 'cpp',
   install: true
 )
 gtk_tools += gtk_query_immodules
@@ -1134,6 +1138,7 @@ gtk_encode_symbolic_svg = executable(
   'encodesymbolic.c',
   c_args: gtk_cargs,
   dependencies: libgtk_dep,
+  link_language: 'cpp',
   install: true
 )
 gtk_tools += gtk_encode_symbolic_svg
@@ -1143,6 +1148,7 @@ gtk_launch = executable(
   'gtk-launch.c',
   c_args: gtk_cargs,
   dependencies: libgtk_dep,
+  link_language: 'cpp',
   install: true
 )
 gtk_tools += gtk_launch
diff --git a/meson.build b/meson.build
index 287f0cb..d35106f 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('gtk+', 'c',
+project('gtk+', 'c', 'cpp',
   version: '3.24.43',
   default_options: [
     'buildtype=debugoptimized',