From 1a668144041f8c870ed28eb6af551d4113bd0fb8 Mon Sep 17 00:00:00 2001 From: arkpar Date: Wed, 12 Aug 2015 10:26:59 +0200 Subject: [PATCH] fixed mix build for qt 5.4 --- alethzero/CMakeLists.txt | 2 +- mix/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alethzero/CMakeLists.txt b/alethzero/CMakeLists.txt index 1576a016f..64e087230 100644 --- a/alethzero/CMakeLists.txt +++ b/alethzero/CMakeLists.txt @@ -22,7 +22,7 @@ include_directories(${Boost_INCLUDE_DIRS}) find_package (Qt5WebEngine) find_package (Qt5WebEngineWidgets) -if (APPLE) +if (APPLE AND (NOT "${Qt5Core_VERSION_STRING}" VERSION_LESS "5.5")) # TODO: remove indirect dependencies once macdeployqt is fixed find_package (Qt5WebEngineCore) find_package (Qt5DBus) diff --git a/mix/CMakeLists.txt b/mix/CMakeLists.txt index 91e3d8508..b508ae9c6 100644 --- a/mix/CMakeLists.txt +++ b/mix/CMakeLists.txt @@ -56,7 +56,7 @@ if (${ETH_HAVE_WEBENGINE}) add_definitions(-DETH_HAVE_WEBENGINE) list(APPEND LIBRARIES "Qt5::WebEngine") endif() -if (APPLE) +if (APPLE AND (NOT "${Qt5Core_VERSION_STRING}" VERSION_LESS "5.5")) list(APPEND LIBRARIES "Qt5::WebEngineCore") list(APPEND LIBRARIES "Qt5::DBus") list(APPEND LIBRARIES "Qt5::PrintSupport")