(macOS) Removed the pointless APPLE_SKIP_INSTALL_LIBS CMake option.

This commit is contained in:
Leon Styhre 2021-06-26 12:06:24 +02:00
parent 4160732ab0
commit 655c645ee7
2 changed files with 30 additions and 36 deletions

View file

@ -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,9 +363,7 @@ 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.

View file

@ -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