From: Vsevolod Stakhov Date: Sat, 26 Nov 2016 13:15:51 +0000 (+0000) Subject: [Minor] More fixes for static build X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=323e4823e805116d71963963bd025630660aed6f;p=thirdparty%2Frspamd.git [Minor] More fixes for static build --- diff --git a/CMakeLists.txt b/CMakeLists.txt index de13b2917d..64834efee4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -652,6 +652,9 @@ ProcessPackage(GLIB2 LIBRARY glib-2.0 INCLUDE glib.h ProcessPackage(GMODULE2 LIBRARY gmodule-2.0 INCLUDE glib.h INCLUDE_SUFFIXES include/glib include/glib-2.0 ROOT ${GLIB_ROOT_DIR} MODULES gmodule-no-export-2.0>=2.28 gmodule-2.0>=2.28) +ProcessPackage(GOBJECT LIBRARY gobject-2.0 INCLUDE glib.h + INCLUDE_SUFFIXES include/glib include/glib-2.0 + ROOT ${GLIB_ROOT_DIR} MODULES gobject-no-export-2.0>=2.28 gobject-2.0>=2.28) IF(GLIB_ROOT_DIR) LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lpthread") LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lffi")