Changeset View
Changeset View
Standalone View
Standalone View
multimedia/subtitlecomposer/files/patch-src_formats_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. | |||||
--- src/formats/CMakeLists.txt.orig 2017-03-29 19:55:39 UTC | |||||
+++ src/formats/CMakeLists.txt | |||||
@@ -57,22 +57,11 @@ set(formats_SRCS | |||||
CACHE INTERNAL EXPORTEDVARIABLE | |||||
) | |||||
-find_package(ICU) | |||||
if(ICU_FOUND) | |||||
message(STATUS "ICU Library will be used for charset detection.") | |||||
set(HAVE_ICU 1 CACHE INTERNAL EXPORTEDVARIABLE) | |||||
- include_directories(${ICU_INCLUDE_DIRS}) | |||||
- | |||||
- set(formats_DEFS | |||||
- ${ICU_DEFINITIONS} | |||||
- ${formats_DEFS} | |||||
- CACHE INTERNAL EXPORTEDVARIABLE) | |||||
- set(formats_LIBS | |||||
- ${ICU_LIBRARIES} | |||||
- ${formats_LIBS} | |||||
- CACHE INTERNAL EXPORTEDVARIABLE) | |||||
else(ICU_FOUND) | |||||
message(STATUS "ICU Library not found. KEncodingProber fallback will be used for charset detection.") | |||||
endif(ICU_FOUND) |