diff -r 04d19c9c1196 -r 66a63c9609de CMakeLists.txt --- a/CMakeLists.txt Wed Nov 28 20:17:53 2012 +0200 +++ b/CMakeLists.txt Sat Nov 07 22:36:02 2015 +0200 @@ -58,6 +58,8 @@ int main (void) { return 0; } #endif " HAVE_MCABBER_COMPLETION_FLAGS) +include(CheckSymbolExists) +check_symbol_exists(COMPL_CARBONS mcabber/compl.h HAVE_COMPL_CARBONS) link_directories(${GLIB_LIBRARY_DIRS} ${GMODULE_LIBRARY_DIRS} ${MCABBER_LIBRARY_DIRS})