summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-22 17:48:03 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-25 13:26:17 (GMT)
commit1699f5c231bf0a9fa411eda637564b7f4deec7f0 (patch)
treeed41c819d0827e8a77f5ddcc5e642008f4215080 /Utilities/cmcurl
parentf709089d845bd70bd889a691b98cd60427e161d4 (diff)
downloadCMake-1699f5c231bf0a9fa411eda637564b7f4deec7f0.zip
CMake-1699f5c231bf0a9fa411eda637564b7f4deec7f0.tar.gz
CMake-1699f5c231bf0a9fa411eda637564b7f4deec7f0.tar.bz2
Utilities: Suppress warnings in third-party code when using XLClang
Diffstat (limited to 'Utilities/cmcurl')
-rw-r--r--Utilities/cmcurl/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index 74929d9..8dc3b2c 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -77,7 +77,7 @@ endif(APPLE)
# 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")