summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-08 12:03:59 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-03-08 12:03:59 (GMT)
commit607bb914b53b89ef622775c3665ee523f6619cf1 (patch)
treec95a2092f1203de3596d0e3baeba49e981bd1e41
parent666c0009319e4c2a73a000f41dc54544df894dfe (diff)
parent9ba9141e7ea5440182f2055e60cb771df26a90ee (diff)
downloadCMake-607bb914b53b89ef622775c3665ee523f6619cf1.zip
CMake-607bb914b53b89ef622775c3665ee523f6619cf1.tar.gz
CMake-607bb914b53b89ef622775c3665ee523f6619cf1.tar.bz2
Merge topic 'update-kwsys'
9ba9141e Merge branch 'upstream-kwsys' into update-kwsys c236691b KWSys 2014-03-06 (9c653603)
-rw-r--r--Source/kwsys/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index 3ad5c2e..977d57b 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -1228,6 +1228,9 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
# Some Apple compilers produce bad optimizations in this source.
IF(APPLE AND "${CMAKE_C_COMPILER_ID}" MATCHES "^(GNU|LLVM)$")
SET_SOURCE_FILES_PROPERTIES(testProcess.c PROPERTIES COMPILE_FLAGS -O0)
+ ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "XL")
+ # Tell IBM XL not to warn about our test infinite loop
+ SET_PROPERTY(SOURCE testProcess.c PROPERTY COMPILE_FLAGS -qsuppress=1500-010)
ENDIF()
# Test SharedForward