Fixed: #1420 Client patcher compilation under Mac OS X

This commit is contained in:
kervala 2012-01-10 10:19:52 +01:00
parent 15fa0b67f7
commit 6a6115061c

View file

@ -22,6 +22,11 @@ TARGET_LINK_LIBRARIES(ryzom_client_patcher
ryzom_sevenzip ryzom_sevenzip
${CURL_LIBRARIES}) ${CURL_LIBRARIES})
IF(APPLE)
FIND_LIBRARY(FOUNDATION_LIBRARY Foundation)
TARGET_LINK_LIBRARIES(ryzom_client_patcher ${FOUNDATION_LIBRARY})
ENDIF(APPLE)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} ${CURL_DEFINITIONS} -DRZ_NO_CLIENT -DNL_USE_SEVENZIP) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} ${CURL_DEFINITIONS} -DRZ_NO_CLIENT -DNL_USE_SEVENZIP)
NL_DEFAULT_PROPS(ryzom_client_patcher "Ryzom, Tools: Ryzom Client Patcher") NL_DEFAULT_PROPS(ryzom_client_patcher "Ryzom, Tools: Ryzom Client Patcher")