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

List:       kde-commits
Subject:    [kde-baseapps/frameworks] konqueror/src: Convert kde4 var to ecm equivalent
From:       Hrvoje Senjan <hrvoje.senjan () gmail ! com>
Date:       2015-02-18 1:59:06
Message-ID: E1YNtus-00031t-9j () scm ! kde ! org
[Download RAW message or body]

Git commit d0ec6f5719b502c5fe39224bf2dfdc876e6b3d0d by Hrvoje Senjan.
Committed on 18/02/2015 at 01:59.
Pushed by hrvojes into branch 'frameworks'.

Convert kde4 var to ecm equivalent

Unbreaks build after 35445f1ce8c590f90450136b4bf4238d30b02d35

M  +3    -2    konqueror/src/CMakeLists.txt

http://commits.kde.org/kde-baseapps/d0ec6f5719b502c5fe39224bf2dfdc876e6b3d0d

diff --git a/konqueror/src/CMakeLists.txt b/konqueror/src/CMakeLists.txt
index 3a73832..dbfcf1c 100644
--- a/konqueror/src/CMakeLists.txt
+++ b/konqueror/src/CMakeLists.txt
@@ -1,8 +1,9 @@
-if(KDE4_BUILD_TESTS)
+if(BUILD_TESTING)
+    find_package(Qt5Test ${QT_MIN_VERSION} CONFIG REQUIRED)
     # only with this definition will the KONQ_TESTS_EXPORT macro do something
     add_definitions(-DCOMPILING_TESTS)
     add_subdirectory( tests )
-endif(KDE4_BUILD_TESTS)
+endif(BUILD_TESTING)
 
 
 add_definitions(-DTRANSLATION_DOMAIN=\"konqueror\")
[prev in list] [next in list] [prev in thread] [next in thread] 

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