summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2016-01-30 17:21:48 (GMT)
committerAleix Pol <aleixpol@kde.org>2016-01-30 17:21:48 (GMT)
commitb6d3854e66717e7d73edb8e12120f5afe5aa3ab8 (patch)
tree01adb6e4a5070e8aa2ff94998fbe49b3494a5223
parentf42a3bad65200267cfe04cf584c203e70a3a6ec0 (diff)
Fix installation of kimgio plugin
Now kimgiotest passes
-rw-r--r--generators/kimgio/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/generators/kimgio/CMakeLists.txt b/generators/kimgio/CMakeLists.txt
index 1f62a96..fe5ec52 100644
--- a/generators/kimgio/CMakeLists.txt
+++ b/generators/kimgio/CMakeLists.txt
@@ -6,10 +6,8 @@ include_directories(
########### next target ###############
-set(okularGenerator_kimgio_PART_SRCS generator_kimgio.cpp )
-add_library(okularGenerator_kimgio MODULE ${okularGenerator_kimgio_PART_SRCS})
+okular_add_generator(okularGenerator_kimgio generator_kimgio.cpp)
target_link_libraries(okularGenerator_kimgio okularcore KF5::KExiv2 KF5::I18n)
-install(TARGETS okularGenerator_kimgio DESTINATION ${KDE_INSTALL_PLUGINDIR})
add_definitions( -DKDESRCDIR="${CMAKE_CURRENT_SOURCE_DIR}/" )
set( kimgiotest_SRCS tests/kimgiotest.cpp ${CMAKE_SOURCE_DIR}/ui/pagepainter.cpp ${CMAKE_SOURCE_DIR}/ui/guiutils.cpp )