mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 13:01:41 +00:00
Fixed: Compilation under Mac OS X where curl needs iconv
This commit is contained in:
parent
301f80526d
commit
9877d3953a
1 changed files with 3 additions and 2 deletions
|
@ -32,12 +32,13 @@ IF(WITH_RYZOM_CLIENT)
|
||||||
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 and libintl 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)
|
||||||
|
FIND_LIBRARY(ICONV_LIBRARY iconv)
|
||||||
|
|
||||||
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${IDN_LIBRARY} ${INTL_LIBRARY})
|
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${IDN_LIBRARY} ${INTL_LIBRARY} ${ICONV_LIBRARY})
|
||||||
ENDIF(APPLE)
|
ENDIF(APPLE)
|
||||||
ENDIF(CURL_STATIC)
|
ENDIF(CURL_STATIC)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue