diff options
author | Brad King <brad.king@kitware.com> | 2012-01-04 14:57:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-01-04 14:57:46 (GMT) |
commit | 9ccaeb10f9fd58503c8a7e1535f2c9154e3e8c93 (patch) | |
tree | e93efb92d069b261cef089d64a910110b9595492 /Utilities | |
parent | 230943832180162f18512d721300a106fac54416 (diff) | |
download | CMake-9ccaeb10f9fd58503c8a7e1535f2c9154e3e8c93.zip CMake-9ccaeb10f9fd58503c8a7e1535f2c9154e3e8c93.tar.gz CMake-9ccaeb10f9fd58503c8a7e1535f2c9154e3e8c93.tar.bz2 |
libarchive: Suppress PathScale compiler warnings
We are not developing libarchive so we do not care about warnings.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmlibarchive/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt index a24bb5d..d0460ec 100644 --- a/Utilities/cmlibarchive/CMakeLists.txt +++ b/Utilities/cmlibarchive/CMakeLists.txt @@ -49,6 +49,8 @@ SET(SOVERSION "${INTERFACE_VERSION}") IF("${CMAKE_C_COMPILER_ID}" MATCHES "^(GNU|Clang|XL|VisualAge|SunPro|MIPSpro|HP|Intel)$") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w") +ELSEIF("${CMAKE_C_COMPILER_ID}" MATCHES "^(PathScale)$") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall") ELSEIF(BORLAND) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w-") ENDIF() |