From: Dmitry Belyavskiy Date: Sat, 19 Nov 2016 18:34:49 +0000 (+0300) Subject: Add -Werror X-Git-Tag: v1.1.0.2~22^2~1 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=3a01994fee987180f1e2826fa6f0c17d78c04cc9;p=openssl-gost%2Fengine.git Add -Werror --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d51a05..7c87c91 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,8 @@ cmake_minimum_required(VERSION 2.8) project(ccgost) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c98 -O3") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c98 -O3 -Werror -Wall") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -Werror") set(GOST_INCLUDE_DIRECTORIES "${OPENSSL_PATH}/include" "${OPENSSL_PATH}/crypto/include")