CMakeLists.txt
changeset 147 66a63c9609de
parent 145 9f7bbb768ba8
child 148 b222f4d111d9
equal deleted inserted replaced
146:04d19c9c1196 147:66a63c9609de
    56 	#include <mcabber/api.h>
    56 	#include <mcabber/api.h>
    57 	#ifdef MCABBER_API_HAVE_COMPL_FLAGS
    57 	#ifdef MCABBER_API_HAVE_COMPL_FLAGS
    58 	int main (void) { return 0; }
    58 	int main (void) { return 0; }
    59 	#endif
    59 	#endif
    60 	" HAVE_MCABBER_COMPLETION_FLAGS)
    60 	" HAVE_MCABBER_COMPLETION_FLAGS)
       
    61 include(CheckSymbolExists)
       
    62 check_symbol_exists(COMPL_CARBONS mcabber/compl.h HAVE_COMPL_CARBONS)
    61 link_directories(${GLIB_LIBRARY_DIRS}
    63 link_directories(${GLIB_LIBRARY_DIRS}
    62 				 ${GMODULE_LIBRARY_DIRS}
    64 				 ${GMODULE_LIBRARY_DIRS}
    63 				 ${MCABBER_LIBRARY_DIRS})
    65 				 ${MCABBER_LIBRARY_DIRS})
    64 
    66 
    65 ## Define targets
    67 ## Define targets