summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-04-21 07:58:42 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-04-21 07:58:42 +0300
commita0588d54a20488b17a178244989e1abc5151a88a (patch)
tree7de7ef6bd7153479ee397006dd71eab7599b43f8 /configure.cmake
parent031f11717d9f351dfb12cd27c225c533e289261a (diff)
parent75c01f39b1b4a6d27d36d075f8baab9bdda7cc7e (diff)
downloadmariadb-git-a0588d54a20488b17a178244989e1abc5151a88a.tar.gz
Merge 10.3 into 10.4
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index cb8e4d8bf8d..a88868eb83a 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -134,6 +134,7 @@ IF(UNIX)
IF(NOT LIBRT)
MY_SEARCH_LIBS(clock_gettime rt LIBRT)
ENDIF()
+ set(THREADS_PREFER_PTHREAD_FLAG ON)
FIND_PACKAGE(Threads)
SET(CMAKE_REQUIRED_LIBRARIES