mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Changed: FindLibwww search also for libexpat
This commit is contained in:
parent
458797f94b
commit
131ce4ced2
2 changed files with 4 additions and 5 deletions
|
@ -109,6 +109,10 @@ IF(WIN32)
|
||||||
FIND_WWW_LIBRARY(LIBREGEX_LIBRARY gnu_regex)
|
FIND_WWW_LIBRARY(LIBREGEX_LIBRARY gnu_regex)
|
||||||
SET(LIBWWW_LIBRARIES ${LIBWWW_LIBRARIES} ${LIBREGEX_LIBRARY})
|
SET(LIBWWW_LIBRARIES ${LIBWWW_LIBRARIES} ${LIBREGEX_LIBRARY})
|
||||||
ENDIF(LIBWWW_REGEX_INCLUDE_DIR)
|
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)
|
ENDIF(WIN32)
|
||||||
|
|
||||||
IF(LIBWWW_LIBRARY AND LIBWWW_INCLUDE_DIR)
|
IF(LIBWWW_LIBRARY AND LIBWWW_INCLUDE_DIR)
|
||||||
|
|
|
@ -23,13 +23,8 @@ NL_CONFIGURE_CHECKS()
|
||||||
IF(WITH_STATIC)
|
IF(WITH_STATIC)
|
||||||
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES})
|
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES})
|
||||||
SET(CURL_DEFINITIONS -DCURL_STATICLIB)
|
SET(CURL_DEFINITIONS -DCURL_STATICLIB)
|
||||||
SET(LIBXML2_DEFINITIONS ${LIBXML2_DEFINITIONS} -DLIBXML_STATIC)
|
|
||||||
ENDIF(WITH_STATIC)
|
ENDIF(WITH_STATIC)
|
||||||
|
|
||||||
IF(NOT WIN32)
|
|
||||||
SET(EXPAT_LIBRARY expat)
|
|
||||||
ENDIF(NOT WIN32)
|
|
||||||
|
|
||||||
ADD_SUBDIRECTORY(common)
|
ADD_SUBDIRECTORY(common)
|
||||||
|
|
||||||
IF(WITH_RYZOM_CLIENT)
|
IF(WITH_RYZOM_CLIENT)
|
||||||
|
|
Loading…
Reference in a new issue