diff options
author | Allen Winter <winter@kde.org> | 2008-01-12 22:40:11 +0000 |
---|---|---|
committer | Allen Winter <winter@kde.org> | 2008-01-12 22:40:11 +0000 |
commit | 7620d7a3c3e7d20bbf44ad20d94276acab735fdf (patch) | |
tree | 9425256278f771f53232d5f2774f8315279d6013 /modules | |
parent | c05f234f7cdb76dd4296b945be326d1916edac77 (diff) | |
download | extra-cmake-modules-7620d7a3c3e7d20bbf44ad20d94276acab735fdf.tar.gz extra-cmake-modules-7620d7a3c3e7d20bbf44ad20d94276acab735fdf.tar.bz2 |
turn off Intel C/C++ compiler remarks. they are a nuisance.
svn path=/trunk/KDE/kdelibs/; revision=760550
Diffstat (limited to 'modules')
-rw-r--r-- | modules/FindKDE4Internal.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index c7e6fcfe..2ac6f6d9 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -940,8 +940,8 @@ if (CMAKE_C_COMPILER MATCHES "icc") set(CMAKE_C_FLAGS_DEBUG "-O2 -g -Ob0 -noalign") set(CMAKE_C_FLAGS_DEBUGFULL "-g -Ob0 -noalign") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ansi -Wall -Wpointer-arith -fno-common") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ansi -Wall -Wpointer-arith -fno-exceptions -fno-common") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ansi -Wall -w1 -Wpointer-arith -fno-common") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ansi -Wall -w1 -Wpointer-arith -fno-exceptions -fno-common") # visibility support set(__KDE_HAVE_ICC_VISIBILITY) |