summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Tiram <[email protected]>2025-04-01 23:19:07 +0200
committerLuke from DC <[email protected]>2025-04-04 22:19:13 +0000
commitaa7c28ad54a666e344d192c326c3ffdd3204d0ce (patch)
tree79f76c4ae5555e9527ab72558c5e296f7a1c111b
parentff52c2e21423a2ffd2cfad3a331588fdb71c4c27 (diff)
downloadatril-aa7c28ad54a666e344d192c326c3ffdd3204d0ce.tar.bz2
atril-aa7c28ad54a666e344d192c326c3ffdd3204d0ce.tar.xz
fix: #error "Only <atril-document.h> can be included directly."
Signed-off-by: Oz Tiram <[email protected]>
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 45efe17a..7a964e70 100644
--- a/meson.build
+++ b/meson.build
@@ -214,7 +214,8 @@ c_args = [
'-DBINDIR="@0@"'.format(join_paths(prefix, bindir)),
'-DEV_BACKENDSDIR="@0@"'.format(join_paths(prefix, libdir, meson.project_name(), binary_major_version, 'backends')),
'-DATRILDATADIR="@0@"'.format(join_paths(prefix, datadir, meson.project_name())),
- '-Werror=implicit-function-declaration'
+ '-Werror=implicit-function-declaration',
+ '-DATRIL_COMPILATION',
]
cpp_args = [