From cd3ce5452de9a4c00bb597e85dde37eba912a3e6 Mon Sep 17 00:00:00 2001 From: Thomas Lindner Date: Wed, 19 Oct 2022 18:37:54 +0200 Subject: [PATCH] enable more warnings --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 167624c..980ac9f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,5 +7,9 @@ target_link_libraries(${PROJECT_NAME} libtls::tls ) target_makeheaders(${PROJECT_NAME}) +target_compile_options(${PROJECT_NAME} + PRIVATE + $<$,$,$>:-Wall -Wextra> +) add_autoformat_target(${PROJECT_NAME})