Changeset View
Changeset View
Standalone View
Standalone View
multimedia/subtitlecomposer/files/patch-CMakeLists.txt
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
Instead of relying on the unfinished FindICU provided by the package, | |||||
call PkgConfig and use the imported target PkgConfig where needed. | |||||
--- CMakeLists.txt.orig 2017-03-29 19:54:47 UTC | |||||
+++ CMakeLists.txt | |||||
@@ -32,5 +32,10 @@ find_package(KF5 REQUIRED | |||||
Auth Config ConfigWidgets CoreAddons I18n KIO XmlGui | |||||
Sonnet Kross Codecs TextWidgets WidgetsAddons) | |||||
+# The provides FindICU.cmake is not finished, and does not properly search for the library location. | |||||
+# Instead of using the `find_package(ICU)` therefore rely on pkg-config to give us the correct data. | |||||
+find_package(PkgConfig REQUIRED) | |||||
+pkg_check_modules(ICU IMPORTED_TARGET icu-i18n icu-uc) | |||||
+ | |||||
add_subdirectory(po) | |||||
add_subdirectory(src) |