|
|
@ -150,31 +150,31 @@ IF(WITH_NEL)
|
|
|
|
IF(WITH_GUI)
|
|
|
|
IF(WITH_GUI)
|
|
|
|
FIND_PACKAGE(Libwww REQUIRED)
|
|
|
|
FIND_PACKAGE(Libwww REQUIRED)
|
|
|
|
FIND_PACKAGE(Luabind REQUIRED)
|
|
|
|
FIND_PACKAGE(Luabind REQUIRED)
|
|
|
|
|
|
|
|
ENDIF(WITH_GUI)
|
|
|
|
FIND_PACKAGE(CURL REQUIRED)
|
|
|
|
FIND_PACKAGE(CURL REQUIRED)
|
|
|
|
|
|
|
|
|
|
|
|
IF(WIN32 OR CURL_LIBRARIES MATCHES "\\.a")
|
|
|
|
IF(WIN32 OR CURL_LIBRARIES MATCHES "\\.a")
|
|
|
|
SET(CURL_STATIC ON)
|
|
|
|
SET(CURL_STATIC ON)
|
|
|
|
ENDIF(WIN32 OR CURL_LIBRARIES MATCHES "\\.a")
|
|
|
|
ENDIF(WIN32 OR CURL_LIBRARIES MATCHES "\\.a")
|
|
|
|
|
|
|
|
|
|
|
|
IF(CURL_STATIC)
|
|
|
|
IF(CURL_STATIC)
|
|
|
|
SET(CURL_DEFINITIONS -DCURL_STATICLIB)
|
|
|
|
SET(CURL_DEFINITIONS -DCURL_STATICLIB)
|
|
|
|
|
|
|
|
|
|
|
|
FIND_PACKAGE(OpenSSL QUIET)
|
|
|
|
FIND_PACKAGE(OpenSSL QUIET)
|
|
|
|
|
|
|
|
|
|
|
|
IF(OPENSSL_FOUND)
|
|
|
|
IF(OPENSSL_FOUND)
|
|
|
|
SET(CURL_INCLUDE_DIRS ${CURL_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR})
|
|
|
|
SET(CURL_INCLUDE_DIRS ${CURL_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR})
|
|
|
|
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES})
|
|
|
|
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES})
|
|
|
|
ENDIF(OPENSSL_FOUND)
|
|
|
|
ENDIF(OPENSSL_FOUND)
|
|
|
|
|
|
|
|
|
|
|
|
# CURL Macports version depends on libidn, libintl and libiconv too
|
|
|
|
# CURL Macports version depends on libidn, libintl and libiconv too
|
|
|
|
IF(APPLE)
|
|
|
|
IF(APPLE)
|
|
|
|
FIND_LIBRARY(IDN_LIBRARY idn)
|
|
|
|
FIND_LIBRARY(IDN_LIBRARY idn)
|
|
|
|
FIND_LIBRARY(INTL_LIBRARY intl)
|
|
|
|
FIND_LIBRARY(INTL_LIBRARY intl)
|
|
|
|
|
|
|
|
|
|
|
|
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${IDN_LIBRARY} ${INTL_LIBRARY})
|
|
|
|
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${IDN_LIBRARY} ${INTL_LIBRARY})
|
|
|
|
ENDIF(APPLE)
|
|
|
|
ENDIF(APPLE)
|
|
|
|
ENDIF(CURL_STATIC)
|
|
|
|
ENDIF(CURL_STATIC)
|
|
|
|
ENDIF(WITH_GUI)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/nel/include ${LIBXML2_INCLUDE_DIR})
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/nel/include ${LIBXML2_INCLUDE_DIR})
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/nel/3rdparty)
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/nel/3rdparty)
|
|
|
|