diff options
author | Allen Winter <allen.winter@kdab.com> | 2016-05-24 10:14:54 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2016-05-24 10:14:54 -0400 |
commit | 13b48609e38bdadfdb9c5657b32a4fea0c46eb91 (patch) | |
tree | 8f3f3992d59c2b1b837ac5ab9a6533d0da2c31f7 | |
parent | d52984b77845100f8f23414c00b89eee55d8ca4c (diff) | |
download | libical-git-13b48609e38bdadfdb9c5657b32a4fea0c46eb91.tar.gz |
CMakeLists.txt - remove -Wpedantic
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 640ea74e..b84a0672 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -268,7 +268,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") check_c_compiler_flag(-Wlogical-op HAVE_GCC_LOGICAL_OP) check_c_compiler_flag(-Wsizeof-pointer-memaccess HAVE_GCC_POINTER_MEMACCESS) check_c_compiler_flag(-Wformat-security HAVE_GCC_FORMAT_SECURITY) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -fvisibility=hidden -Wno-deprecated -Wall -Wextra -Winit-self -Wmissing-include-dirs -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Wtype-limits -Werror=return-type") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -Wno-deprecated -Wall -Wextra -Winit-self -Wmissing-include-dirs -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Wtype-limits -Werror=return-type") if(HAVE_GCC_UNUSED_BUT_SET) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wunused-but-set-variable") endif() |