Move library aggregation into common CMakeLists.txt; add missing libs to DolphinQt.

Fixes DolphinQt build (on OS X, anyway) when libav is enabled.
This commit is contained in:
comex
2014-11-19 19:55:52 -05:00
parent 688b1e537e
commit ba4a763410
3 changed files with 43 additions and 47 deletions

View File

@ -23,19 +23,9 @@ set(UIS
SystemInfo.ui
)
set(LIBS core uicommon)
list(APPEND LIBS core uicommon)
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# Link against OS X system frameworks.
list(APPEND LIBS
${APPKIT_LIBRARY}
${AU_LIBRARY}
${COREAUDIO_LIBRARY}
${COREFUND_LIBRARY}
${CORESERV_LIBRARY}
${IOK_LIBRARY}
${FORCEFEEDBACK}
)
set(DOLPHINQT_BINARY DolphinQt)
else()
set(DOLPHINQT_BINARY dolphin-emu-qt)