mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
CMakeLists: Link in system framework libraries explicitly on macOS
Makes our libraries explicitly link in which libraries they need. This makes our dependencies explicit and removes the reliance on the LIBS variable to contain the libraries that they need.
This commit is contained in:
@ -52,6 +52,15 @@ target_link_libraries(common PUBLIC
|
||||
${VTUNE_LIBRARIES}
|
||||
)
|
||||
|
||||
if (APPLE)
|
||||
target_link_libraries(common
|
||||
PRIVATE
|
||||
${APPKIT_LIBRARY}
|
||||
${COREFOUNDATION_LIBRARY}
|
||||
${IOK_LIBRARY}
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ANDROID)
|
||||
target_sources(common PRIVATE
|
||||
Logging/ConsoleListenerDroid.cpp
|
||||
|
Reference in New Issue
Block a user