diff options
author | Brad King <brad.king@kitware.com> | 2019-02-22 12:48:03 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-25 08:26:17 -0500 |
commit | 1699f5c231bf0a9fa411eda637564b7f4deec7f0 (patch) | |
tree | ed41c819d0827e8a77f5ddcc5e642008f4215080 /Utilities/cmlibarchive | |
parent | f709089d845bd70bd889a691b98cd60427e161d4 (diff) | |
download | cmake-1699f5c231bf0a9fa411eda637564b7f4deec7f0.tar.gz |
Utilities: Suppress warnings in third-party code when using XLClang
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r-- | Utilities/cmlibarchive/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt index 6426ebe0be..53b3a83c38 100644 --- a/Utilities/cmlibarchive/CMakeLists.txt +++ b/Utilities/cmlibarchive/CMakeLists.txt @@ -60,7 +60,7 @@ SET(CMAKE_REQUIRED_FLAGS) # Disable warnings to avoid changing 3rd party code. IF(CMAKE_C_COMPILER_ID MATCHES - "^(GNU|Clang|AppleClang|XL|VisualAge|SunPro|HP|Intel)$") + "^(GNU|Clang|AppleClang|XLClang|XL|VisualAge|SunPro|HP|Intel)$") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w") ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "PathScale") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall") |