aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-18 17:08:18 +0200
committerEgor Tensin <egor@tensin.name>2026-06-18 17:08:18 +0200
commit955f6158a93036c27dde48973e37a44f6c8b22de (patch)
tree16db6352c7154f8c8c9b0afef4026ade33053f48 /CMakeLists.txt
parentupdate .git-blame-ignore-revs (diff)
downloadcimple-955f6158a93036c27dde48973e37a44f6c8b22de.tar.gz
cimple-955f6158a93036c27dde48973e37a44f6c8b22de.zip
cmake: use a more common warnings option
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 755ead3..f7a8c5c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ project(cimple VERSION 0.0.1 LANGUAGES C)
enable_testing()
-add_compile_options(-std=c17 -Wpedantic -Wall -Wextra)
+add_compile_options(-std=c17 -Wall -Wextra -pedantic)
add_compile_options($<$<NOT:$<CONFIG:Debug>>:-Werror>)
add_compile_options(-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer)