Commit 35862f3a authored by Pino Toscano's avatar Pino Toscano
Browse files

cmake: remove use of old PHONON_BUILD_PHONON4QT5

Assuming it is always true now, simplify the setting of
BUILD_X11RENDERER so it is enabled only when Qt5X11Extras is found
(definitely not on Windows).
parent 900ebb5a
......@@ -78,12 +78,7 @@ if (OPENGL_FOUND)
list(APPEND phonon_gstreamer_SRCS glrenderer.cpp)
endif ()
set(BUILD_X11RENDERER TRUE)
if (PHONON_BUILD_PHONON4QT5)
if (Qt5X11Extras_FOUND)
set(BUILD_X11RENDERER TRUE)
endif()
elseif (NOT WIN32)
if (Qt5X11Extras_FOUND)
set(BUILD_X11RENDERER TRUE)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment