summaryrefslogtreecommitdiffstats
path: root/kfaxview
diff options
context:
space:
mode:
Diffstat (limited to 'kfaxview')
-rw-r--r--kfaxview/CMakeLists.txt2
-rw-r--r--kfaxview/libkfaximage/CMakeLists.txt11
2 files changed, 11 insertions, 2 deletions
diff --git a/kfaxview/CMakeLists.txt b/kfaxview/CMakeLists.txt
index 1188aa63..55d83905 100644
--- a/kfaxview/CMakeLists.txt
+++ b/kfaxview/CMakeLists.txt
@@ -31,7 +31,7 @@ link_directories(
tde_install_icons( kfaxview )
install( FILES kfaxview.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES ${CMAKE_SOURCE_DIR}/kviewshell/kviewshell.rc DESTINATION ${DATA_INSTALL_DIR}/kviewshell )
+install( FILES ${CMAKE_SOURCE_DIR}/kviewshell/kviewshell.rc DESTINATION ${DATA_INSTALL_DIR}/kfaxview/kviewshell.rc )
install( FILES kfaxmultipage.desktop kfaxmultipage_tiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
diff --git a/kfaxview/libkfaximage/CMakeLists.txt b/kfaxview/libkfaximage/CMakeLists.txt
index aebad1a6..d3813b67 100644
--- a/kfaxview/libkfaximage/CMakeLists.txt
+++ b/kfaxview/libkfaximage/CMakeLists.txt
@@ -23,6 +23,15 @@ link_directories(
#### kfaximage (library) ########################
-tde_add_library( kfaximage STATIC_PIC AUTOMOC
+tde_add_library( kfaximage AUTOMOC
SOURCES kfaximage.cpp faxexpand.cpp faxinit.cpp
)
+
+#### kfaximage (shared library) ########################
+
+tde_add_library( kfaximage SHARED AUTOMOC
+ SOURCES kfaximage.cpp faxexpand.cpp faxinit.cpp
+ VERSION 1.0.0
+ LINK kparts-shared ${TQT_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+) \ No newline at end of file