summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-07-10 14:04:29 -0400
committerAndrew Opalach <andrew@akon.city> 2026-07-10 14:04:29 -0400
commit566c022572bbff8bb7ff105b9adbe74500b2c716 (patch)
tree6cc0942bdfcdcbf3b1df52c8436d1b0ea5f88c52 /meson.build
parentc60363d4652ff60826b29a2e75f53a78df0f44cb (diff)
downloadcamu-566c022572bbff8bb7ff105b9adbe74500b2c716.tar.gz
camu-566c022572bbff8bb7ff105b9adbe74500b2c716.tar.bz2
camu-566c022572bbff8bb7ff105b9adbe74500b2c716.zip
Build fixes, get LTO+Os working on Windows
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 6eda9b8..e817842 100644
--- a/meson.build
+++ b/meson.build
@@ -5,8 +5,7 @@ project('camu', ['c', 'cpp'], # Marking cpp here is required for subproject cros
license: 'GPL-3.0-only')
# Fail early if 'Compiler for build machine not found'.
-add_languages('c', native: true)
-add_languages('cpp', native: true)
+add_languages('c', 'cpp', native: true)
compiler = meson.get_compiler('c')
cmake = import('cmake')