diff options
Diffstat (limited to 'CMakeLists.txt')
-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( ) |