summaryrefslogtreecommitdiffstats
path: root/kfaxview
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-31 06:24:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-31 06:24:04 +0000
commit83b9df8edf5bf3eb61e5d2e956695f96500359c1 (patch)
tree0a8ddc5f0c1700cec2aaed2bc3960f08dc7efa4f /kfaxview
parent56e79472366b958a2ffa31f2cf02cd908d064c8e (diff)
downloadtdegraphics-83b9df8edf5bf3eb61e5d2e956695f96500359c1.tar.gz
tdegraphics-83b9df8edf5bf3eb61e5d2e956695f96500359c1.zip
Fix kdegraphics CMake compilation
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1244149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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