diff options
author | Nicolas Lécureuil <neoclust.kde@free.fr> | 2011-12-17 13:10:01 +0100 |
---|---|---|
committer | Nicolas Lécureuil <neoclust.kde@free.fr> | 2011-12-17 13:10:01 +0100 |
commit | 446c7795a858eebabd004e98a1512a741c5fe3f5 (patch) | |
tree | ab52fbf37da748abda65d0731f793f859c73b765 | |
parent | dd6d5c7849214d938de46744631d0ee72925fec0 (diff) | |
download | extra-cmake-modules-446c7795a858eebabd004e98a1512a741c5fe3f5.tar.gz extra-cmake-modules-446c7795a858eebabd004e98a1512a741c5fe3f5.tar.bz2 |
Add use of -Wno-variadic needed to build files including kdebug.h
-rw-r--r-- | modules/ECMQtFramework.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ECMQtFramework.cmake b/modules/ECMQtFramework.cmake index 598f2a16..a58d5348 100644 --- a/modules/ECMQtFramework.cmake +++ b/modules/ECMQtFramework.cmake @@ -114,7 +114,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_EXE_LINKER_FLAGS_COVERAGE "${CMAKE_EXE_LINKER_FLAGS} -fprofile-arcs -ftest-coverage") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -pedantic-errors") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Wno-variadic -fno-check-new -fno-common -pedantic-errors") if(NOT APPLE) set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}") |