Skip to content

Commit 72d54ff

Browse files
committed
only enable client parsec plugin if HAVE_THREADS_H
1 parent 18cf72d commit 72d54ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/mariadb_connector_c.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ ENDIF()
77
SET(CONC_WITH_SIGNCODE ${SIGNCODE})
88
SET(SIGN_OPTIONS ${SIGNTOOL_PARAMETERS})
99
SET(CONC_WITH_EXTERNAL_ZLIB ON)
10+
11+
CHECK_INCLUDE_FILES (threads.h HAVE_THREADS_H)
12+
IF(HAVE_THREADS_H)
1013
SET(CLIENT_PLUGIN_PARSEC DYNAMIC)
14+
ENDIF()
1115

1216
IF(SSL_DEFINES MATCHES "WOLFSSL")
1317
IF(WIN32)

0 commit comments

Comments
 (0)