From 4567c2c739a38094301c03ee688f16291d85f11e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 26 Apr 2017 19:34:34 +0200 Subject: more relaxec compilation flags --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 53d5b66..a4038d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,10 +9,10 @@ project(cssh C) set( CSSH_VERSION 0.0.1 ) if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -pedantic -Wfatal-errors -Werror -fPIC -Wno-unused-but-set-variable -D_XOPEN_SOURCE=700") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wno-unused-but-set-variable -D_XOPEN_SOURCE=700") endif() if("${CMAKE_CXX_COMPILER_ID}" MATCHES "[cC]lang") -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -pedantic -Wfatal-errors -Werror -fPIC -D_XOPEN_SOURCE=700") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -D_XOPEN_SOURCE=700") endif() enable_testing( ) -- cgit v1.2.3-54-g00ecf