summaryrefslogtreecommitdiffstats
path: root/Utilities/cmThirdPartyChecks.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-01 19:45:43 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-01 19:59:10 (GMT)
commit22c5b0c244f90696c97f05647c43775e0847d98f (patch)
tree1064cb436f94177eb02346f8d1f62f0de21bb1df /Utilities/cmThirdPartyChecks.cmake
parenta7e66cac164c0bc6db01a5772d63f07b28d7e698 (diff)
downloadCMake-22c5b0c244f90696c97f05647c43775e0847d98f.zip
CMake-22c5b0c244f90696c97f05647c43775e0847d98f.tar.gz
CMake-22c5b0c244f90696c97f05647c43775e0847d98f.tar.bz2
libarchive: Avoid configure-time checks for integer range constants
Diffstat (limited to 'Utilities/cmThirdPartyChecks.cmake')
-rw-r--r--Utilities/cmThirdPartyChecks.cmake12
1 files changed, 0 insertions, 12 deletions
diff --git a/Utilities/cmThirdPartyChecks.cmake b/Utilities/cmThirdPartyChecks.cmake
index e3ce469..0b57940 100644
--- a/Utilities/cmThirdPartyChecks.cmake
+++ b/Utilities/cmThirdPartyChecks.cmake
@@ -260,18 +260,6 @@ if(WIN32)
# curl and expat: stdlib.h, stdarg.h, string.h, float.h
set(STDC_HEADERS 1)
- # FIXME: Teach libarchive to use #if instead of configure-time checks.
- set(HAVE_DECL_INT32_MAX 1)
- set(HAVE_DECL_INT32_MIN 1)
- set(HAVE_DECL_INT64_MAX 1)
- set(HAVE_DECL_INT64_MIN 1)
- set(HAVE_DECL_INTMAX_MAX 1)
- set(HAVE_DECL_INTMAX_MIN 1)
- set(HAVE_DECL_SIZE_MAX 1)
- set(HAVE_DECL_UINT32_MAX 1)
- set(HAVE_DECL_UINT64_MAX 1)
- set(HAVE_DECL_UINTMAX_MAX 1)
-
# libarchive looks for external hash implementations.
set(ARCHIVE_CRYPTO_MD5_LIBC 0)
set(ARCHIVE_CRYPTO_MD5_LIBMD 0)