mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
(macOS) Suppressed an annoying linker warning regarding duplicate static libraries which was introduced with Xcode 15
This commit is contained in:
parent
ce9089ca05
commit
529f3c7021
|
@ -124,6 +124,9 @@ if(APPLE)
|
|||
add_executable(EmulationStation ${ES_SOURCES} ${ES_HEADERS})
|
||||
target_link_libraries(EmulationStation ${COMMON_LIBRARIES} es-core)
|
||||
set_target_properties(EmulationStation PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
if(CMAKE_CXX_COMPILER_VERSION GREATER_EQUAL 15.0.0)
|
||||
target_link_options(EmulationStation PRIVATE LINKER:-no_warn_duplicate_libraries)
|
||||
endif()
|
||||
elseif(WIN32)
|
||||
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||
add_executable(EmulationStation WIN32 ${ES_SOURCES} ${ES_HEADERS})
|
||||
|
|
Loading…
Reference in a new issue