From: Vsevolod Stakhov Date: Sat, 26 Nov 2016 13:08:03 +0000 (+0000) Subject: [Minor] Add missing flag X-Git-Tag: 1.4.1~47 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d2ae2538f1d07a09235778de2b7a36e72e7dde60;p=rspamd.git [Minor] Add missing flag --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c9d1f7b6d..2e19f43ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -660,6 +660,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")