Changed: Centralize Foundation framework search

--HG--
branch : develop
hg/compatibility-develop
kervala 8 years ago
parent 8dca705f73
commit 4a848b0771

@ -169,8 +169,7 @@ IF(WITH_RYZOM_CLIENT)
ENDIF() ENDIF()
IF(APPLE) IF(APPLE)
FIND_LIBRARY(FOUNDATION_LIBRARY Foundation) TARGET_LINK_LIBRARIES(ryzom_client ${FOUNDATION_FRAMEWORK})
TARGET_LINK_LIBRARIES(ryzom_client ${FOUNDATION_LIBRARY})
ENDIF() ENDIF()
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} ${CURL_DEFINITIONS} ${LUABIND_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} ${CURL_DEFINITIONS} ${LUABIND_DEFINITIONS})

@ -27,8 +27,7 @@ TARGET_LINK_LIBRARIES(ryzom_client_patcher
${CURL_LIBRARIES}) ${CURL_LIBRARIES})
IF(APPLE) IF(APPLE)
FIND_LIBRARY(FOUNDATION_LIBRARY Foundation) TARGET_LINK_LIBRARIES(ryzom_client_patcher ${FOUNDATION_FRAMEWORK})
TARGET_LINK_LIBRARIES(ryzom_client_patcher ${FOUNDATION_LIBRARY})
ENDIF() ENDIF()
ADD_DEFINITIONS(${CURL_DEFINITIONS}) ADD_DEFINITIONS(${CURL_DEFINITIONS})

Loading…
Cancel
Save