diff options
author | Brad King <brad.king@kitware.com> | 2021-08-19 14:55:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-08-24 16:53:59 (GMT) |
commit | 651ecdddfab8ba38decfa0b91333c8d27523c3ea (patch) | |
tree | 3a30c526b1466ecec87838cb8919024d0b4df501 /Utilities | |
parent | 107df8e65019b89f82249395bc09efe5dc9e2a7f (diff) | |
download | CMake-651ecdddfab8ba38decfa0b91333c8d27523c3ea.zip CMake-651ecdddfab8ba38decfa0b91333c8d27523c3ea.tar.gz CMake-651ecdddfab8ba38decfa0b91333c8d27523c3ea.tar.bz2 |
Utilities: Add hard-coded try_compile result for libarchive strnlen check
libarchive 3.5.1 checks for strnlen. It is available on all Windows
platforms.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmThirdPartyChecks.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmThirdPartyChecks.cmake b/Utilities/cmThirdPartyChecks.cmake index bab3046..7e38df9 100644 --- a/Utilities/cmThirdPartyChecks.cmake +++ b/Utilities/cmThirdPartyChecks.cmake @@ -180,6 +180,7 @@ if(WIN32) set(HAVE_STRERROR_R 0) set(HAVE_STRNCMPI 0) set(HAVE_STRNCPY_S 1) + set(HAVE_STRNLEN 1) set(HAVE_STROPTS_H 0) set(HAVE__STRTOI64 1) set(HAVE_STRTOLL 1) |