aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 27a222a..241be4c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -124,17 +124,18 @@ if (LLAMA_ALL_WARNINGS)
-Wall
-Wextra
-Wpedantic
- -Wshadow
-Wcast-qual
+ -Wdouble-promotion
+ -Wshadow
-Wstrict-prototypes
-Wpointer-arith
- -Wno-unused-function
)
set(cxx_flags
-Wall
-Wextra
-Wpedantic
-Wcast-qual
+ -Wdouble-promotion
)
else()
# todo : msvc