1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-28 16:20:01 +02:00

Check for HAVE_X11 instead of Q_OS_LINUX in bringToFront

This commit is contained in:
Dominik Schmidt
2015-02-04 18:40:08 +01:00
parent 9711421d8b
commit a02c00d68d
3 changed files with 18 additions and 15 deletions

View File

@@ -159,9 +159,14 @@ if( NOT BUILD_WITH_QT4 )
find_package(Qt5WebKitWidgets REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5Xml REQUIRED)
if(UNIX AND NOT APPLE)
find_package(Qt5X11Extras REQUIRED NO_MODULE)
find_package(Qt5X11Extras NO_MODULE)
if(Qt5X11Extras_FOUND)
set(HAVE_X11 TRUE)
else()
set(HAVE_X11 FALSE)
endif()
message(STATUS "Found Qt5! Be aware that Qt5-support is still experimental and not officially supported!")
if( UNIX AND NOT APPLE )