From: Andrew Lewis Date: Wed, 1 Mar 2017 17:31:09 +0000 (+0200) Subject: [Minor] Help cmake find gthread X-Git-Tag: 1.5.1~9^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1467%2Fhead;p=rspamd.git [Minor] Help cmake find gthread --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 411914f31..cb023af44 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -662,7 +662,7 @@ IF(ENABLE_JEMALLOC MATCHES "ON") ROOT ${JEMALLOC_ROOT_DIR} MODULES jemalloc) SET(WITH_JEMALLOC "1") ENDIF() -ProcessPackage(GTHREAD2 LIBRARY ghtread-2.0 INCLUDE glib.h +ProcessPackage(GTHREAD2 LIBRARY gthread-2.0 INCLUDE glib.h INCLUDE_SUFFIXES include/glib include/glib-2.0 ROOT ${GLIB_ROOT_DIR} MODULES gthread-2.0>=2.28) ProcessPackage(GLIB2 LIBRARY glib-2.0 INCLUDE glib.h