]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] More fixes for static build
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 26 Nov 2016 13:15:51 +0000 (13:15 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 26 Nov 2016 13:15:51 +0000 (13:15 +0000)
CMakeLists.txt

index 2e19f43ac4875c6e13c0920b8a1f99c7d2c96869..9398bd78a80444fe8cccec60e594449a9c24835e 100644 (file)
@@ -657,6 +657,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")