From b2b4b4d74e78a3e4fe7a74224d1e6aada5bde351 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sun, 5 Mar 2017 22:07:23 +0300 Subject: [PATCH] cmake: add into CMAKE_REQUIRED_INCLUDES for sizeof(pthread_t) Fixes: #475 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae6178b1..343bf5f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -471,6 +471,7 @@ else() endif() if (NOT EVENT__DISABLE_THREAD_SUPPORT) + list(APPEND CMAKE_EXTRA_INCLUDE_FILES pthread.h) CHECK_TYPE_SIZE(pthread_t EVENT__SIZEOF_PTHREAD_T) endif() -- 2.50.1