Clean up CMake library specification

The X11 libraries don't need to be specified when doing dynamic linking
This commit is contained in:
Yuri Kunde Schlesner 2014-12-13 20:02:22 -02:00
parent 1ee740898a
commit 06f31e8b47
3 changed files with 11 additions and 12 deletions

View file

@ -60,6 +60,10 @@ add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS})
target_link_libraries(citra-qt core common video_core qhexedit)
target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS})
if (UNIX)
target_link_libraries(citra-qt -pthread)
endif()
if (APPLE)
target_link_libraries(citra-qt iconv ${COREFOUNDATION_LIBRARY})
elseif (WIN32)