From ff2087c811c68908bfd08a28207061df1488c85c Mon Sep 17 00:00:00 2001 From: Felix Riiga Date: Fri, 21 Jun 2024 23:33:02 +0200 Subject: [PATCH] Add compiler warnings --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1759f5e..cf6b50e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,7 @@ set(CMAKE_AUTORCC ON) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wpedantic") if(NOT DEFINED QT_VERSION_MAJOR) set(QT_VERSION_MAJOR 6)