Fixed pthread_cancel detection

This commit is contained in:
SChernykh
2022-05-03 20:52:24 +02:00
parent 8f27d940e3
commit c45689b02b
2 changed files with 18 additions and 14 deletions

View File

@@ -135,6 +135,7 @@ add_definitions(/DZMQ_STATIC)
include(CheckSymbolExists)
set(CMAKE_REQUIRED_FLAGS "${GENERAL_FLAGS}")
check_symbol_exists(pthread_cancel pthread.h HAVE_PTHREAD_CANCEL)
if (HAVE_PTHREAD_CANCEL)