nixpkgs-suyu/pkgs/tools/inputmethods/fcitx/fcitx-qt5-ecm.patch
2016-05-21 17:02:23 +09:00

29 lines
773 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b8e729a..ebd3603 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,9 +5,7 @@ project(fcitx-qt5)
set(FcitxQt5_VERSION 1.0.0)
set(REQUIRED_QT_VERSION 5.1.0)
-find_package(ECM 1.4.0 REQUIRED NO_MODULE)
-
-set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
+set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
include(GNUInstallDirs)
include(FeatureSummary)
diff --git a/cmake/FindXKBCommon.cmake b/cmake/FindXKBCommon.cmake
index a645584..de0007d 100644
--- a/cmake/FindXKBCommon.cmake
+++ b/cmake/FindXKBCommon.cmake
@@ -1,5 +1,5 @@
-include(ECMFindModuleHelpersStub)
+include(ECMFindModuleHelpers)
ecm_find_package_version_check(XKBCommon)
--
2.8.0