kaffeine/remove-stray-call-to-ki18n_install.patch

23 lines
688 B
Diff
Raw Normal View History

From: Wolfgang Bauer <wbauer@tmo.at>
Date: Sun, 04 Jun 2017 09:16:09 +0200
Subject: Remove stray/duplicated call to ki18n_install
The release script injected an additional ki18n_install(po), but this
breaks the build with KDE Frameworks 5.34 (cmake error "another target
with the same name already exists") because ki18n_install(po) is
already called anyway.
So remove it to fix the build.
---
diff -u a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -107,7 +107,5 @@
if(BUILD_TOOLS)
add_subdirectory(tools)
endif(BUILD_TOOLS)
-find_package(KF5I18n CONFIG REQUIRED)
-ki18n_install(po)
find_package(KF5DocTools CONFIG REQUIRED)
kdoctools_install(po)