diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-04-26 19:34:34 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-04-26 19:34:34 +0200 |
commit | 4567c2c739a38094301c03ee688f16291d85f11e (patch) | |
tree | 46202801355bb58eab96240e0bef5211b8fd6227 | |
parent | 6486c53de45a285162897a14571bf927f47e8ba6 (diff) | |
download | cssh-4567c2c739a38094301c03ee688f16291d85f11e.tar.gz cssh-4567c2c739a38094301c03ee688f16291d85f11e.tar.bz2 |
more relaxec compilation flags
-rw-r--r-- | CMakeLists.txt | 4 |
1 files 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( ) |