Add support for XEP-0100 jabber:iq:gateway
This commit is contained in:
@@ -131,6 +131,12 @@ elseif(NOT WITHOUT_POSTGRESQL)
|
||||
find_package(PQ)
|
||||
endif()
|
||||
|
||||
if(WITH_CURL)
|
||||
find_package(CURL REQUIRED)
|
||||
elseif(NOT WITHOUT_CURL)
|
||||
find_package(CURL)
|
||||
endif()
|
||||
|
||||
#
|
||||
## Set all the include directories, depending on what libraries are used
|
||||
#
|
||||
@@ -146,6 +152,9 @@ endif()
|
||||
if(UDNS_FOUND)
|
||||
include_directories(${UDNS_INCLUDE_DIRS})
|
||||
endif()
|
||||
if(CURL_FOUND)
|
||||
include_directories(${CURL_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
# To be able to include the config.h and other files generated by cmake
|
||||
include_directories("${CMAKE_CURRENT_BINARY_DIR}/src/")
|
||||
@@ -270,6 +279,10 @@ if(UDNS_FOUND)
|
||||
target_link_libraries(${PROJECT_NAME} ${UDNS_LIBRARIES})
|
||||
target_link_libraries(test_suite ${UDNS_LIBRARIES})
|
||||
endif()
|
||||
if(CURL_FOUND)
|
||||
target_link_libraries(${PROJECT_NAME} ${CURL_LIBRARIES})
|
||||
target_link_libraries(test_suite ${CURL_LIBRARIES})
|
||||
endif()
|
||||
if(LIBIDN_FOUND)
|
||||
target_link_libraries(${PROJECT_NAME} ${LIBIDN_LIBRARIES})
|
||||
target_link_libraries(test_suite ${LIBIDN_LIBRARIES})
|
||||
|
||||
Reference in New Issue
Block a user