summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 3434dd7c..d272ff33 100644
--- a/meson.build
+++ b/meson.build
@@ -19,7 +19,6 @@ config_h = configuration_data()
if cc.has_header_symbol('stdlib.h', 'secure_getenv', prefix: '#define _GNU_SOURCE')
config_h.set('HAVE_SECURE_GETENV', 1)
endif
-configure_file(output: 'config.h', configuration: config_h)
common_arguments = [
'-Wno-unused-parameter',
@@ -49,6 +48,8 @@ if get_option('tests')
subdir('test')
endif
+configure_file(output: 'config.h', configuration: config_h)
+
pkg_mod = import('pkgconfig')
pkg_mod.generate(libraries : libcamera,
version : '1.0',