summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-07 20:22:35 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-07 20:22:35 (GMT)
commit9ba9141e7ea5440182f2055e60cb771df26a90ee (patch)
tree36766042822ad687e8756564844ec142a6d0dcf1 /Source/kwsys
parent83722f34f7b19ca288bfca6939e115554a63192a (diff)
parentc236691b32f4532d4da6db77322b4446e3802e3f (diff)
downloadCMake-9ba9141e7ea5440182f2055e60cb771df26a90ee.zip
CMake-9ba9141e7ea5440182f2055e60cb771df26a90ee.tar.gz
CMake-9ba9141e7ea5440182f2055e60cb771df26a90ee.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys')
-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