Changed: FindLibwww search also for libexpat

This commit is contained in:
kervala 2010-09-04 20:18:44 +02:00
parent 92b4d5ef8a
commit 2966ff7392
2 changed files with 4 additions and 5 deletions

View file

@ -109,6 +109,10 @@ IF(WIN32)
FIND_WWW_LIBRARY(LIBREGEX_LIBRARY gnu_regex)
SET(LIBWWW_LIBRARIES ${LIBWWW_LIBRARIES} ${LIBREGEX_LIBRARY})
ENDIF(LIBWWW_REGEX_INCLUDE_DIR)
ELSE(WIN32)
FIND_PACKAGE(EXPAT)
SET(LIBWWW_INCLUDE_DIR ${LIBWWW_INCLUDE_DIR} ${EXPAT_INCLUDE_DIRS})
SET(LIBWWW_LIBRARIES ${LIBWWW_LIBRARIES} ${EXPAT_LIBRARIES})
ENDIF(WIN32)
IF(LIBWWW_LIBRARY AND LIBWWW_INCLUDE_DIR)

View file

@ -23,13 +23,8 @@ NL_CONFIGURE_CHECKS()
IF(WITH_STATIC)
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES})
SET(CURL_DEFINITIONS -DCURL_STATICLIB)
SET(LIBXML2_DEFINITIONS ${LIBXML2_DEFINITIONS} -DLIBXML_STATIC)
ENDIF(WITH_STATIC)
IF(NOT WIN32)
SET(EXPAT_LIBRARY expat)
ENDIF(NOT WIN32)
ADD_SUBDIRECTORY(common)
IF(WITH_RYZOM_CLIENT)