summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--karm/CMakeLists.txt33
1 files changed, 14 insertions, 19 deletions
diff --git a/karm/CMakeLists.txt b/karm/CMakeLists.txt
index 4fb6be5a2..e5e4bec19 100644
--- a/karm/CMakeLists.txt
+++ b/karm/CMakeLists.txt
@@ -44,23 +44,18 @@ install( FILES karmui.rc DESTINATION ${DATA_INSTALL_DIR}/karm )
install( FILES karmui.rc DESTINATION ${DATA_INSTALL_DIR}/karmpart )
-##### karm (static) #############################
-
-set( libkarm_SRCS
- kaccelmenuwatch.cpp desktoptracker.cpp edittaskdialog.cpp
- idletimedetector.cpp printdialog.cpp timekard.cpp karmutility.cpp
- ktimewidget.cpp karmstorage.cpp mainwindow.cpp preferences.cpp
- print.cpp task.cpp taskview.cpp tray.cpp csvexportdialog_base.ui
- csvexportdialog.cpp plannerparser.cpp karmdcopiface.skel
- taskviewwhatsthis.cpp
-)
-
-tde_add_library( karm_pic STATIC_PIC AUTOMOC
- SOURCES ${libkarm_SRCS}
-)
-
-tde_add_library( karm_nopic STATIC AUTOMOC
- SOURCES ${libkarm_SRCS}
+##### karm (shared) #############################
+
+tde_add_library( karm SHARED AUTOMOC
+ SOURCES
+ kaccelmenuwatch.cpp desktoptracker.cpp edittaskdialog.cpp
+ idletimedetector.cpp printdialog.cpp timekard.cpp karmutility.cpp
+ ktimewidget.cpp karmstorage.cpp mainwindow.cpp preferences.cpp
+ print.cpp task.cpp taskview.cpp tray.cpp csvexportdialog_base.ui
+ csvexportdialog.cpp plannerparser.cpp karmdcopiface.skel
+ taskviewwhatsthis.cpp
+ VERSION 0.0.0
+ LINK kcal_resourceremote-shared kdeprint-shared
)
@@ -68,7 +63,7 @@ tde_add_library( karm_nopic STATIC AUTOMOC
tde_add_kpart( libkarmpart AUTOMOC
SOURCES karm_part.cpp
- LINK karm_pic-static kcal_resourceremote-shared
+ LINK karm-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
@@ -77,6 +72,6 @@ tde_add_kpart( libkarmpart AUTOMOC
tde_add_executable( karm
SOURCES main.cpp
- LINK karm_nopic-static kcal_resourceremote-shared kdeprint-shared
+ LINK karm-shared
DESTINATION ${BIN_INSTALL_DIR}
)