Changeset View
Changeset View
Standalone View
Standalone View
generators/CMakeLists.txt
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Line(s) | |||||
84 | 84 | | |||
85 | find_package(QMobipocket "2") | 85 | find_package(QMobipocket "2") | ||
86 | set_package_properties("libqmobipocket" PROPERTIES | 86 | set_package_properties("libqmobipocket" PROPERTIES | ||
87 | DESCRIPTION "A library for reading Mobipocket documents" | 87 | DESCRIPTION "A library for reading Mobipocket documents" | ||
88 | URL "https://commits.kde.org/kdegraphics-mobipocket" | 88 | URL "https://commits.kde.org/kdegraphics-mobipocket" | ||
89 | TYPE RECOMMENDED | 89 | TYPE RECOMMENDED | ||
90 | PURPOSE "Support for Mobipocket documents in Okular.") | 90 | PURPOSE "Support for Mobipocket documents in Okular.") | ||
91 | 91 | | |||
92 | find_package(Discount "2") | ||||
93 | set_package_properties("discount" PROPERTIES | ||||
94 | DESCRIPTION "A library that gives you formatting functions suitable for marking down entire documents or lines of text" | ||||
95 | URL "http://www.pell.portland.or.us/~orc/Code/discount/" | ||||
96 | TYPE RECOMMENDED | ||||
97 | PURPOSE "Support for Markdown documents in Okular.") | ||||
98 | | ||||
92 | # let's enable the generators properly configured | 99 | # let's enable the generators properly configured | ||
93 | 100 | | |||
94 | if(Poppler_Qt5_FOUND) | 101 | if(Poppler_Qt5_FOUND) | ||
95 | add_subdirectory(poppler) | 102 | add_subdirectory(poppler) | ||
96 | endif(Poppler_Qt5_FOUND) | 103 | endif(Poppler_Qt5_FOUND) | ||
97 | 104 | | |||
98 | if(LIBSPECTRE_FOUND) | 105 | if(LIBSPECTRE_FOUND) | ||
99 | add_subdirectory(spectre) | 106 | add_subdirectory(spectre) | ||
Show All 35 Lines | 141 | if(EPUB_FOUND) | |||
135 | add_subdirectory(epub) | 142 | add_subdirectory(epub) | ||
136 | endif(EPUB_FOUND) | 143 | endif(EPUB_FOUND) | ||
137 | 144 | | |||
138 | add_subdirectory(txt) | 145 | add_subdirectory(txt) | ||
139 | 146 | | |||
140 | if(QMobipocket_FOUND) | 147 | if(QMobipocket_FOUND) | ||
141 | add_subdirectory(mobipocket) | 148 | add_subdirectory(mobipocket) | ||
142 | endif() | 149 | endif() | ||
150 | | ||||
151 | if(discount_FOUND) | ||||
152 | add_subdirectory(markdown) | ||||
153 | endif() |