Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
[libpinyin] use fcitx-qt5 1.1 to make sure we have new qt5 wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
wengxt committed Feb 8, 2017
1 parent 3fb4c0f commit ab8319e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions dictmanager/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit ab8319e

Please sign in to comment.