https://github.com/Kitware/CMake
Revision e7e88e955bc773be792e645ee8558d78b4183a87 authored by Brad King on 26 September 2018, 13:46:27 UTC, committed by Brad King on 26 September 2018, 13:47:53 UTC
Backport libarchive commit v3.3.3~16^2 (fix build with LibreSSL 2.7,
2018-04-01).  LibreSSL 2.7 adds OpenSSL 1.1 API leading to conflicts on
method names.

Fixes: #18404
1 parent f478fa6
Raw File
Tip revision: e7e88e955bc773be792e645ee8558d78b4183a87 authored by Brad King on 26 September 2018, 13:46:27 UTC
libarchive: Backport fix for build with LibreSSL 2.7
Tip revision: e7e88e9
SunPro-C-FeatureTests.cmake
set(_cmake_oldestSupported "__SUNPRO_C >= 0x5130")

set(SunPro_C11 "${_cmake_oldestSupported} && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L || __STDC_VERSION__ >= 199901L && defined(__C11FEATURES__))")
set(_cmake_feature_test_c_static_assert "${SunPro_C11}")
unset(SunPro_C11)

set(SunPro_C99 "${_cmake_oldestSupported} && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L")
set(_cmake_feature_test_c_restrict "${SunPro_C99}")
set(_cmake_feature_test_c_variadic_macros "${SunPro_C99}")
unset(SunPro_C99)

set(SunPro_C90 "${_cmake_oldestSupported}")
set(_cmake_feature_test_c_function_prototypes "${SunPro_C90}")
unset(SunPro_C90)
back to top