equal
deleted
inserted
replaced
67 pkg_check_modules(LM REQUIRED loudmouth-1.0) |
67 pkg_check_modules(LM REQUIRED loudmouth-1.0) |
68 include(CheckFunctionExists) |
68 include(CheckFunctionExists) |
69 set(CMAKE_REQUIRED_INCLUDES ${LM_INCLUDE_DIRS}) |
69 set(CMAKE_REQUIRED_INCLUDES ${LM_INCLUDE_DIRS}) |
70 set(CMAKE_REQUIRED_LIBRARIES ${LM_LIBRARIES}) |
70 set(CMAKE_REQUIRED_LIBRARIES ${LM_LIBRARIES}) |
71 check_function_exists(lm_connection_get_keep_alive_rate HAVE_LM_CONNECTION_GET_KEEP_ALIVE_RATE) |
71 check_function_exists(lm_connection_get_keep_alive_rate HAVE_LM_CONNECTION_GET_KEEP_ALIVE_RATE) |
|
72 check_function_exists(lm_connection_unregister_reply_handler HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER) |
72 find_package(Perl) |
73 find_package(Perl) |
73 |
74 |
74 ## Set up compiler |
75 ## Set up compiler |
75 configure_file(config.h.in config.h) |
76 configure_file(config.h.in config.h) |
76 include_directories(SYSTEM ${LUA_INCLUDE_DIR} ${GLIB_INCLUDE_DIRS} ${LM_INCLUDE_DIRS}) |
77 include_directories(SYSTEM ${LUA_INCLUDE_DIR} ${GLIB_INCLUDE_DIRS} ${LM_INCLUDE_DIRS}) |