diff options
author | JinWang An <jinwang.an@samsung.com> | 2022-12-27 17:20:12 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2022-12-27 17:20:12 +0900 |
commit | 09b92c34460b1f05dcea435bca10a0f1c99e9285 (patch) | |
tree | 919339f104c07c73394b04ffdda580f44a2ea1d7 /Utilities/cmnghttp2 | |
parent | db519432fbbf7425b99f72f419d2c70778727a56 (diff) | |
download | cmake-09b92c34460b1f05dcea435bca10a0f1c99e9285.tar.gz cmake-09b92c34460b1f05dcea435bca10a0f1c99e9285.tar.bz2 cmake-09b92c34460b1f05dcea435bca10a0f1c99e9285.zip |
Imported Upstream version 3.23.0upstream/3.23.0
Diffstat (limited to 'Utilities/cmnghttp2')
-rw-r--r-- | Utilities/cmnghttp2/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Utilities/cmnghttp2/CMakeLists.txt b/Utilities/cmnghttp2/CMakeLists.txt index 3bc2778ea..9002ab6d0 100644 --- a/Utilities/cmnghttp2/CMakeLists.txt +++ b/Utilities/cmnghttp2/CMakeLists.txt @@ -1,16 +1,16 @@ # Disable warnings to avoid changing 3rd party code. if(CMAKE_C_COMPILER_ID MATCHES - "^(GNU|Clang|AppleClang|XLClang|XL|VisualAge|SunPro|HP|Intel|IntelLLVM|NVHPC)$") + "^(GNU|LCC|Clang|AppleClang|IBMClang|XLClang|XL|VisualAge|SunPro|HP|Intel|IntelLLVM|NVHPC)$") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w") elseif(CMAKE_C_COMPILER_ID STREQUAL "PathScale") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall") endif() # Re-use some check result cache entries from cmcurl: -# * HAVE_ARPA_INET_H -# * HAVE_NETINET_IN_H -# * HAVE_SSIZE_T -if(NOT HAVE_SSIZE_T) +# * HAVE_ARPA_INET_H (referenced in cmakeconfig.h.in) +# * HAVE_NETINET_IN_H (referenced in cmakeconfig.h.in) +# * HAVE_SIZEOF_SSIZE_T (referenced here) +if(NOT HAVE_SIZEOF_SSIZE_T) set(ssize_t KWIML_INT_intptr_t) endif() configure_file(cmakeconfig.h.in config.h) |