diff options
author | axtlos <rose@pinkro.se> | 2025-06-19 00:47:45 +0200 |
---|---|---|
committer | axtlos <rose@pinkro.se> | 2025-06-19 00:47:45 +0200 |
commit | cd3b65bd1c2d84780f916bb61aea616ff65f6d7d (patch) | |
tree | 71eef403d9de916e68a3b9becc70c433e1f62a16 /src/meson.build | |
parent | 7654df2f9cb61572636183887d0832e448957689 (diff) | |
download | autodarkmode-cd3b65bd1c2d84780f916bb61aea616ff65f6d7d.tar.gz autodarkmode-cd3b65bd1c2d84780f916bb61aea616ff65f6d7d.tar.bz2 |
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build index 6642e9d..e91cc83 100644 --- a/src/meson.build +++ b/src/meson.build @@ -9,9 +9,13 @@ autodarkmode_sources = [ autodarkmode_deps = [ dependency('glib-2.0'), - dependency('libgeoclue-2.0'), + dependency('libgeoclue-2.0', required : get_option('gclue_support')), ] +if get_option('gclue_support').enabled() + add_project_arguments('-DUSE_GCLUE', language: 'c') +endif + executable('autodarkmode', autodarkmode_sources, dependencies: autodarkmode_deps, install: true, |