only enable client parsec plugin if HAVE_THREADS_H

This commit is contained in:
Sergei Golubchik 2024-08-10 20:16:59 +02:00
parent 18cf72df56
commit 72d54ff9d4

View file

@ -7,7 +7,11 @@ ENDIF()
SET(CONC_WITH_SIGNCODE ${SIGNCODE})
SET(SIGN_OPTIONS ${SIGNTOOL_PARAMETERS})
SET(CONC_WITH_EXTERNAL_ZLIB ON)
CHECK_INCLUDE_FILES (threads.h HAVE_THREADS_H)
IF(HAVE_THREADS_H)
SET(CLIENT_PLUGIN_PARSEC DYNAMIC)
ENDIF()
IF(SSL_DEFINES MATCHES "WOLFSSL")
IF(WIN32)