Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-01-26 06:41:35 +0300
committerJames Almer <jamrial@gmail.com>2019-01-28 18:16:54 +0300
commitc98bbeb3cf7ec6bd2545fdb8704dae87fe7cc117 (patch)
tree11593a76dff62fd870f78ebf772a67b84145cf73 /meson.build
parent0749f4b0929bf9e4f0afa5bc96a12073b55a2408 (diff)
add a logging callback mechanism
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index ee88ba0..1c06243 100644
--- a/meson.build
+++ b/meson.build
@@ -70,6 +70,10 @@ if is_asm_enabled and get_option('b_sanitize') == 'memory'
error('asm causes false positive with memory sanitizer. Use \'-Dbuild_asm=false\'.')
endif
+# Logging option
+if get_option('logging')
+ cdata.set('CONFIG_LOG', 1)
+endif
#
# OS/Compiler checks and defines