diff options
author | Brad King <brad.king@kitware.com> | 2014-03-08 12:03:59 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-03-08 12:03:59 (GMT) |
commit | 607bb914b53b89ef622775c3665ee523f6619cf1 (patch) | |
tree | c95a2092f1203de3596d0e3baeba49e981bd1e41 /Source | |
parent | 666c0009319e4c2a73a000f41dc54544df894dfe (diff) | |
parent | 9ba9141e7ea5440182f2055e60cb771df26a90ee (diff) | |
download | CMake-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)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 3 |
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 |