From c69deccabceb8466f0ccd195e25b9962d483f539 Mon Sep 17 00:00:00 2001 From: Naios Date: Tue, 21 Jul 2015 18:30:32 +0200 Subject: [PATCH] Enable gnu warnings --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e7161c1..dce953b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,6 +39,9 @@ else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") endif() + # Enable full warnings + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}-Wall -pedantic -Wextra") + # Find Threads find_package (Threads) endif()