From 0ca7e4d64da416ee6b869b0a4472b1ab4cd7a4ef Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 19 May 2012 09:09:41 +0200 Subject: [PATCH] Fixed: Compilation under Mac OS X where curl needs iconv --- code/ryzom/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/ryzom/CMakeLists.txt b/code/ryzom/CMakeLists.txt index 62323501e..35e4c8860 100644 --- a/code/ryzom/CMakeLists.txt +++ b/code/ryzom/CMakeLists.txt @@ -32,12 +32,13 @@ IF(WITH_RYZOM_CLIENT) SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES}) ENDIF(OPENSSL_FOUND) - # CURL Macports version depends on libidn and libintl too + # CURL Macports version depends on libidn, libintl and libiconv too IF(APPLE) FIND_LIBRARY(IDN_LIBRARY idn) 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(CURL_STATIC)