1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

Only link against Qt5X11Extras if it was found ...

This commit is contained in:
Dominik Schmidt 2015-02-05 23:08:39 +01:00
parent b1f039cd20
commit dad90e93d5

View File

@ -411,7 +411,7 @@ IF(LIBATTICA_FOUND)
ENDIF( TOMAHAWK_QT5 )
ENDIF(LIBATTICA_FOUND)
if(UNIX AND NOT APPLE AND TOMAHAWK_QT5)
if(HAVE_X11)
list(APPEND LINK_LIBRARIES Qt5::X11Extras)
endif()