summaryrefslogtreecommitdiff
path: root/app-office/scribus/files/scribus-1.5.6-findhyphen.patch
blob: d8e2400ea1f403ecc194da28ef85fb7111879ed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/CMakeLists_Dependencies.cmake
+++ b/CMakeLists_Dependencies.cmake
@@ -954,6 +954,16 @@
 endif()
 #>>HUNSPELL for Speelling support
 
+#<<HYPHEN for Hyphenation support
+find_package(HYPHEN)
+if(HYPHEN_FOUND)
+	message("System Hyphen Found OK")
+	set(HAVE_HYPHEN ON)
+else()
+	message("Hyphen or its developer libraries NOT found - using bundled Hyphen instead")
+endif()
+#>>HYPHEN for Hyphenation support
+
 #<<PoDoFo for AI PDF import
 option(WITH_PODOFO "Enable support for PDF embedded in AI" ON)
 if (WITH_PODOFO)