From 2f940f89951027bc596edbe1a5768cc0a0ef78a0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 26 Oct 2015 09:07:18 -0400 Subject: libarchive: Drop use of pthread.h for CMake build CMake does not use threads so we do not need this in our libarchive. --- Utilities/cmlibarchive/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt index 6b13c2f..00550e2 100644 --- a/Utilities/cmlibarchive/CMakeLists.txt +++ b/Utilities/cmlibarchive/CMakeLists.txt @@ -94,6 +94,8 @@ IF(WIN32) SET(_WIN32_WINNT ${WINVER}) ENDIF(WIN32) +set(HAVE_PTHREAD_H 0) # no threads in CMake + IF("${CMAKE_C_PLATFORM_ID}" MATCHES "^(HP-UX)$") ADD_DEFINITIONS(-D_XOPEN_SOURCE=500) # Ask wchar.h for mbstate_t ENDIF() -- cgit v0.12