Package: phonon / 4:4.10.2-1

findqt4_optional_x11.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Modestas Vainius <modax@debian.org>
Date: Sat, 14 May 2016 18:53:56 +0200
Subject: Qt doesn't expose the X11 headers to the world,
 so no need to make it required.

---
 cmake/Qt4ConfigDependentSettings.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/Qt4ConfigDependentSettings.cmake b/cmake/Qt4ConfigDependentSettings.cmake
index b5462e7..fba3129 100644
--- a/cmake/Qt4ConfigDependentSettings.cmake
+++ b/cmake/Qt4ConfigDependentSettings.cmake
@@ -27,7 +27,7 @@
 IF(UNIX)
   # on OS X X11 may not be required
   IF (Q_WS_X11)
-    FIND_PACKAGE(X11 REQUIRED)
+    FIND_PACKAGE(X11)
   ENDIF (Q_WS_X11)
   FIND_PACKAGE(Threads)
   SET(QT_QTCORE_LIBRARY ${QT_QTCORE_LIBRARY} ${CMAKE_THREAD_LIBS_INIT})