void-packages/srcpkgs/Aegisub/patches/link-icu18n.patch

16 lines
579 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -347,9 +347,9 @@ target_link_libraries(Aegisub PRIVATE "O
find_package(Iconv REQUIRED)
target_link_libraries(libaegisub PRIVATE "Iconv::Iconv")
-find_package(ICU REQUIRED uc)
-target_link_libraries(libaegisub PRIVATE "ICU::uc")
-target_link_libraries(Aegisub PRIVATE "ICU::uc")
+find_package(ICU REQUIRED uc i18n)
+target_link_libraries(libaegisub PRIVATE "ICU::uc" ICU::i18n)
+target_link_libraries(Aegisub PRIVATE "ICU::uc" ICU::i18n)
find_package(wxWidgets REQUIRED adv base core gl stc xml)
include(${wxWidgets_USE_FILE})