Changed: Centralize Foundation framework search
--HG-- branch : develop
This commit is contained in:
parent
8dca705f73
commit
4a848b0771
2 changed files with 2 additions and 4 deletions
|
@ -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…
Reference in a new issue