aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--meson.build2
-rw-r--r--project.conf6
2 files changed, 4 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index bebfa3d..41a5d38 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('gpu-screen-recorder', 'c', version : '5.15.3', default_options : ['warning_level=2'])
+project('gpu-screen-recorder', 'c', version : '5.15.3', default_options : ['c_std=c11', 'warning_level=2'])
add_project_arguments('-Wshadow', language : 'c')
if get_option('buildtype') == 'debug'
diff --git a/project.conf b/project.conf
index 38af0ba..f57b88b 100644
--- a/project.conf
+++ b/project.conf
@@ -4,11 +4,11 @@ type = "executable"
version = "5.15.3"
platforms = ["posix"]
-[lang.cpp]
-version = "c++17"
+[lang.c]
+version = "c11"
[config]
-ignore_dirs = ["kms/server", "src/gsr_cli", "build", "debug-build", "plugin/examples"]
+ignore_dirs = ["kms/server", "tools", "build", "debug-build", "plugin/examples"]
#error_on_warning = "true"
[define]