mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
(macOS) Removed the pointless APPLE_SKIP_INSTALL_LIBS CMake option.
This commit is contained in:
parent
4160732ab0
commit
655c645ee7
|
@ -26,8 +26,6 @@ option(GLES "Set to ON if targeting Embedded OpenGL" ${GLES})
|
|||
option(GL "Set to ON if targeting Desktop OpenGL" ${GL})
|
||||
option(RPI "Set to ON to enable Raspberry Pi specific build" ${RPI})
|
||||
option(CEC "Set to ON to enable CEC" ${CEC})
|
||||
option(APPLE_SKIP_INSTALL_LIBS "Set to ON to skip installation of shared libraries (macOS only)"
|
||||
${APPLE_SKIP_INSTALL_LIBS})
|
||||
|
||||
#---------------------------------------------------------------------------------------------------
|
||||
# OpenGL setup.
|
||||
|
@ -365,10 +363,8 @@ if(APPLE)
|
|||
# Set the same rpath links for the install executable as for the build executable.
|
||||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
|
||||
if(NOT APPLE_SKIP_INSTALL_LIBS)
|
||||
set(CMAKE_INSTALL_RPATH @executable_path)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Add libCEC libraries.
|
||||
if(DEFINED libCEC_FOUND)
|
||||
|
|
|
@ -189,7 +189,6 @@ elseif(APPLE)
|
|||
GROUP_READ GROUP_EXECUTE
|
||||
WORLD_READ WORLD_EXECUTE)
|
||||
|
||||
if(NOT APPLE_SKIP_INSTALL_LIBS)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/libavcodec.58.dylib
|
||||
PERMISSIONS ${APPLE_DYLIB_PERMISSIONS} DESTINATION ../MacOS)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/libavfilter.7.dylib
|
||||
|
@ -222,7 +221,6 @@ elseif(APPLE)
|
|||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/plugins
|
||||
DESTINATION ../MacOS)
|
||||
endif()
|
||||
endif()
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/LICENSE
|
||||
DESTINATION ../Resources)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources
|
||||
|
|
Loading…
Reference in a new issue