[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [libechonest] /: Silence policy warnings in CMake 2.8.13+
From:       Leo Franchi <lfranchi () kde ! org>
Date:       2014-09-13 2:21:18
Message-ID: E1XScxi-00062T-Fd () scm ! kde ! org
[Download RAW message or body]

Git commit eb031dd96a92a316bb52128be32f48f900a0b421 by Leo Franchi, on beha=
lf of Uwe L. Korn.
Committed on 21/07/2014 at 16:25.
Pushed by lfranchi into branch 'master'.

Silence policy warnings in CMake 2.8.13+

M  +2    -0    CMakeLists.txt

http://commits.kde.org/libechonest/eb031dd96a92a316bb52128be32f48f900a0b421

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4719b65..ce773ae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,8 @@ option(BUILD_WITH_QT4 "Build libechonest with Qt4 no matt=
er if Qt5 was found" ON
 =

 if( NOT BUILD_WITH_QT4 )
     find_package(Qt5Core QUIET)
+    # CMAKE 2.8.13+/3.0.0+ requires these for IMPORTed targets
+    find_package(Qt5Xml REQUIRED)
     if( Qt5Core_DIR )
         message(STATUS "Found Qt5! Be aware that Qt5-support is still expe=
rimental and not officially supported!")
         set(ECHONEST_LIB_VERSION_SUFFIX 5)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic