diff options
| author | allusive-dev <[email protected]> | 2023-11-17 12:26:02 +1100 |
|---|---|---|
| committer | allusive-dev <[email protected]> | 2023-11-17 12:26:02 +1100 |
| commit | 0ba9b466644b6bd601a8163eaf9526a9bada97fc (patch) | |
| tree | f10696cd925928bd20e55b14afc369fcda4f9f77 /src/meson.build | |
| parent | Update README.md (diff) | |
| download | compfy-0ba9b466644b6bd601a8163eaf9526a9bada97fc.tar.xz compfy-0ba9b466644b6bd601a8163eaf9526a9bada97fc.zip | |
Added version checker. See README
Diffstat (limited to 'src/meson.build')
| -rw-r--r-- | src/meson.build | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build index 48b212f..60d1893 100644 --- a/src/meson.build +++ b/src/meson.build @@ -9,7 +9,7 @@ base_deps = [ srcs = [ files('compfy.c', 'win.c', 'c2.c', 'x.c', 'config.c', 'vsync.c', 'utils.c', 'diagnostic.c', 'string_utils.c', 'render.c', 'kernel.c', 'log.c', - 'options.c', 'event.c', 'cache.c', 'atom.c', 'file_watch.c') ] + 'options.c', 'event.c', 'cache.c', 'atom.c', 'file_watch.c', 'update.c') ] compfy_inc = include_directories('.') cflags = [] @@ -37,6 +37,11 @@ endif deps = [] +if get_option('update_checks') + cflags += ['-DCONFIG_UPDATES'] + deps += [dependency('json-c', required: true), dependency('libcurl', required: true)] +endif + if get_option('config_file') deps += [dependency('libconfig', version: '>=1.4', required: true)] |