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
92b4d5ef8a
commit
2966ff7392
2 changed files with 4 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue