Skip to content

Instantly share code, notes, and snippets.

@ynakao
Created November 29, 2017 14:08
Show Gist options
  • Save ynakao/0e0248609ce2d53bb6c9613af3bba25e to your computer and use it in GitHub Desktop.
Save ynakao/0e0248609ce2d53bb6c9613af3bba25e to your computer and use it in GitHub Desktop.
okular-17.08.3.tar.xz macOS build patch
diff --git a/generators/spectre/CMakeLists.txt b/generators/spectre/CMakeLists.txt
index d808c36..5d6927d 100644
--- a/generators/spectre/CMakeLists.txt
+++ b/generators/spectre/CMakeLists.txt
@@ -24,7 +24,7 @@ ki18n_wrap_ui(okularGenerator_ghostview_SRCS
kconfig_add_kcfg_files(okularGenerator_ghostview_SRCS conf/gssettings.kcfgc )
-okular_add_generator(okularGenerator_ghostview MODULE ${okularGenerator_ghostview_SRCS})
+okular_add_generator(okularGenerator_ghostview ${okularGenerator_ghostview_SRCS})
target_link_libraries(okularGenerator_ghostview okularcore ${LIBSPECTRE_LIBRARY} KF5::I18n Qt5::Xml)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment