From: Vsevolod Stakhov Date: Sat, 26 Nov 2016 13:08:03 +0000 (+0000) Subject: [Minor] Add missing flag X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d1f5d78437477a7aa7b6bbdb22e4633e2dedf36d;p=rspamd.git [Minor] Add missing flag --- 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")