[vlmc-devel] cmake: Fix Qt5Xml package name

Hugo Beauzée-Luyssen git at videolan.org
Wed Feb 5 00:24:32 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Feb  5 00:32:45 2014 +0200| [319029d423e7902cd2c94a26d80c11caf7fb4230] | committer: Hugo Beauzée-Luyssen

cmake: Fix Qt5Xml package name

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=319029d423e7902cd2c94a26d80c11caf7fb4230
---

 CMakeLists.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 30173dc..347f838 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -121,9 +121,9 @@ if (NOT FORCE_QT4)
     if (Qt5Core_DIR)
         # go on with other packages
         if(WITH_GUI)
-            find_package(Qt5 COMPONENTS Widgets Gui XML Network)
+            find_package(Qt5 COMPONENTS Widgets Gui Xml Network)
         else()
-            find_packages(Qt5 COMPONENTS XML Network)
+            find_packages(Qt5 COMPONENTS Xml Network)
         endif()
         message(STATUS "Found Qt5! Be aware that Qt5-support is still experimental and not officially supported!")
 



More information about the Vlmc-devel mailing list