From d1f5d78437477a7aa7b6bbdb22e4633e2dedf36d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 26 Nov 2016 13:08:03 +0000 Subject: [PATCH] [Minor] Add missing flag --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f20f632f7..de13b2917 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -655,6 +655,7 @@ ProcessPackage(GMODULE2 LIBRARY gmodule-2.0 INCLUDE glib.h IF(GLIB_ROOT_DIR) LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lpthread") LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lffi") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") ENDIF() IF(ENABLE_PCRE2 MATCHES "ON") -- 2.39.5