mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
COMP: Fix more pthreads problems on windows
This commit is contained in:
@@ -49,7 +49,7 @@ ENDIF(ATTR_UNUSED_VAR)
|
||||
SET(HAVE_LIBWWW_SSL)
|
||||
SET(DIRECTORY_SEPARATOR "/")
|
||||
|
||||
SET(HAVE_PTHREADS)
|
||||
SET(HAVE_PTHREADS 0)
|
||||
IF(CMAKE_BUILD_XMLRPC_WITH_THREADS)
|
||||
FIND_PACKAGE(Threads)
|
||||
IF(WIN32 OR CMAKE_USE_PTHREADS_INIT)
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#define HAVE_PTHREADS 1
|
||||
#include "xmlrpc_pthreads.h"
|
||||
|
||||
#include <process.h>
|
||||
|
||||
Reference in New Issue
Block a user