[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [attica] lib: Add QT4_BUILD option
From: David Faure <faure () kde ! org>
Date: 2013-04-30 21:00:25
Message-ID: 20130430210025.87DACA603F () git ! kde ! org
[Download RAW message or body]
Git commit dad7aa539af52b518b20a2c08e098aed32c7f62d by David Faure.
Committed on 30/04/2013 at 23:00.
Pushed by dfaure into branch 'master'.
Add QT4_BUILD option
M +2 -1 lib/CMakeLists.txt
http://commits.kde.org/attica/dad7aa539af52b518b20a2c08e098aed32c7f62d
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 1197c1d..e0781ac 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -5,8 +5,9 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
=
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/ ${CMAKE_MODULE_PA=
TH})
=
+option(QT4_BUILD "Force building with Qt4 even if Qt5 is found")
find_package(Qt5Core QUIET)
-if (Qt5Core_FOUND)
+if (Qt5Core_FOUND AND NOT QT4_BUILD)
message(STATUS "Building with Qt5 support")
find_package(ECM 0.0.6 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic