From 251f1fde65947a10040835928e392710ba7a08c3 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Sun, 29 Nov 2015 21:23:10 +1000 Subject: [PATCH] * enable extra warnings --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e4389f..8b5b887 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,8 @@ include(CTest) set(CMAKE_INSTALL_PREFIX "/usr") set(INSTALL_LIB "${CMAKE_INSTALL_PREFIX}/lib/openvpn") +list(APPEND CMAKE_C_FLAGS "-Wall -Wextra -pedantic") + message(STATUS "------------------------------------------") message(STATUS "Build type is: ${CMAKE_BUILD_TYPE}") message(STATUS "")