From ab8319e284d22ea2f86c8c1e63128ecf30511a10 Mon Sep 17 00:00:00 2001 From: Weng Xuetian Date: Tue, 7 Feb 2017 21:04:32 -0800 Subject: [PATCH] [libpinyin] use fcitx-qt5 1.1 to make sure we have new qt5 wrapper --- dictmanager/CMakeLists.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dictmanager/CMakeLists.txt b/dictmanager/CMakeLists.txt index 1cdde13..fd39bf7 100644 --- a/dictmanager/CMakeLists.txt +++ b/dictmanager/CMakeLists.txt @@ -11,16 +11,14 @@ set(DICT_MANAGER_SRCS fcitx_translate_add_sources( ${DICT_MANAGER_SRCS}) -if (ENABLE_QT) -find_package(Qt5 5.7 REQUIRED COMPONENTS Core Gui WebEngineWidgets Network DBus) -find_package(FcitxQt5WidgetsAddons REQUIRED) -find_package(FcitxQt5DBusAddons REQUIRED) -endif (ENABLE_QT) - if (NOT ENABLE_QT) return() endif () +find_package(Qt5 5.7 REQUIRED COMPONENTS Core Gui WebEngineWidgets Network DBus) +find_package(FcitxQt5WidgetsAddons 1.1 REQUIRED) +find_package(FcitxQt5DBusAddons 1.1 REQUIRED) + include_directories( ${CMAKE_CURRENT_BINARY_DIR} ../src/