mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
(macOS) Removed the bundling of cURL.
This commit is contained in:
parent
03609b2f08
commit
c4752e494e
|
@ -104,6 +104,7 @@ if(APPLE OR WIN32)
|
||||||
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
add_executable(EmulationStation ${ES_SOURCES} ${ES_HEADERS})
|
add_executable(EmulationStation ${ES_SOURCES} ${ES_HEADERS})
|
||||||
target_link_libraries(EmulationStation ${COMMON_LIBRARIES} es-core)
|
target_link_libraries(EmulationStation ${COMMON_LIBRARIES} es-core)
|
||||||
|
set_target_properties(EmulationStation PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||||
else()
|
else()
|
||||||
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
add_executable(emulationstation ${ES_SOURCES} ${ES_HEADERS})
|
add_executable(emulationstation ${ES_SOURCES} ${ES_HEADERS})
|
||||||
|
@ -145,7 +146,6 @@ elseif(APPLE)
|
||||||
# on your system (e.g. if using libSDL2-2.1.0.dylib instead of libSDL2-2.0.0.dylib).
|
# on your system (e.g. if using libSDL2-2.1.0.dylib instead of libSDL2-2.0.0.dylib).
|
||||||
# This problem definitely needs to be resolved properly at a later date.
|
# This problem definitely needs to be resolved properly at a later date.
|
||||||
add_custom_command(TARGET EmulationStation POST_BUILD COMMAND ${CMAKE_INSTALL_NAME_TOOL}
|
add_custom_command(TARGET EmulationStation POST_BUILD COMMAND ${CMAKE_INSTALL_NAME_TOOL}
|
||||||
-change /usr/lib/libcurl.4.dylib @rpath/libcurl.4.dylib
|
|
||||||
-change /usr/local/opt/freeimage/lib/libfreeimage.dylib @rpath/libfreeimage.dylib
|
-change /usr/local/opt/freeimage/lib/libfreeimage.dylib @rpath/libfreeimage.dylib
|
||||||
-change /usr/local/opt/freetype/lib/libfreetype.6.dylib @rpath/libfreetype.6.dylib
|
-change /usr/local/opt/freetype/lib/libfreetype.6.dylib @rpath/libfreetype.6.dylib
|
||||||
-change /usr/local/opt/libpng/lib/libpng16.16.dylib @rpath/libpng16.16.dylib
|
-change /usr/local/opt/libpng/lib/libpng16.16.dylib @rpath/libpng16.16.dylib
|
||||||
|
@ -158,8 +158,6 @@ elseif(APPLE)
|
||||||
WORLD_READ WORLD_EXECUTE)
|
WORLD_READ WORLD_EXECUTE)
|
||||||
|
|
||||||
if(NOT APPLE_SKIP_INSTALL_LIBS)
|
if(NOT APPLE_SKIP_INSTALL_LIBS)
|
||||||
install(FILES ${CMAKE_SOURCE_DIR}/libcurl.4.dylib
|
|
||||||
PERMISSIONS ${APPLE_DYLIB_PERMISSIONS} DESTINATION ../MacOS)
|
|
||||||
install(FILES ${CMAKE_SOURCE_DIR}/libfreeimage.dylib
|
install(FILES ${CMAKE_SOURCE_DIR}/libfreeimage.dylib
|
||||||
PERMISSIONS ${APPLE_DYLIB_PERMISSIONS} DESTINATION ../MacOS)
|
PERMISSIONS ${APPLE_DYLIB_PERMISSIONS} DESTINATION ../MacOS)
|
||||||
install(FILES ${CMAKE_SOURCE_DIR}/libfreetype.6.dylib
|
install(FILES ${CMAKE_SOURCE_DIR}/libfreetype.6.dylib
|
||||||
|
|
Loading…
Reference in a new issue