1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-17 03:45:56 +01:00

Hopefully fix linking on newer Ubuntus.

This commit is contained in:
John Maguire 2011-11-30 16:50:23 +01:00
parent 7951691a7e
commit 542faab959

View File

@ -1086,7 +1086,7 @@ if (LINUX)
# they end up getting ignored. This appends them to the very end of the link # they end up getting ignored. This appends them to the very end of the link
# line, ensuring they're always used. # line, ensuring they're always used.
find_package(X11) find_package(X11)
target_link_libraries(clementine_lib ${X11_X11_LIB}) target_link_libraries(clementine_lib ${X11_X11_LIB} ${CMAKE_DL_LIBS})
endif (LINUX) endif (LINUX)
add_dependencies(clementine_lib qtsingleapplication) add_dependencies(clementine_lib qtsingleapplication)