summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-25 15:51:40 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-07-05 20:03:25 +0200
commit47402b5b9035c4484d8a20946b0a9a33617fc33f (patch)
treee3b218b9e88d8e1dc78771c190ffcc9e6ca70b3f /plugins
parent70e46300873f51517dbc2186ef7094ad349e7ca8 (diff)
downloadkbfx-47402b5b9035c4484d8a20946b0a9a33617fc33f.tar.gz
kbfx-47402b5b9035c4484d8a20946b0a9a33617fc33f.zip
Fix configdialog FTBFS
(cherry picked from commit 5661d90024acd6f43dc38211891c7b48cd0709f2)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/applications/CMakeLists.txt86
1 files changed, 43 insertions, 43 deletions
diff --git a/plugins/applications/CMakeLists.txt b/plugins/applications/CMakeLists.txt
index 6a717fd..9948802 100644
--- a/plugins/applications/CMakeLists.txt
+++ b/plugins/applications/CMakeLists.txt
@@ -1,44 +1,44 @@
-SET(libkbfxplasmadatastubsrc
- kbfxplasmadataplugin.cpp
- )
-
-FILE(GLOB HEADERS *.h)
-
-IF (NOT USE_KDE4)
- KDE3_AUTOMOC(${libkbfxplasmadatastubsrc})
-
- ADD_LIBRARY(kbfxplasmadatastub SHARED ${libkbfxplasmadatastubsrc})
- SET_TARGET_PROPERTIES(kbfxplasmadatastub
- PROPERTIES
- COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS})
- # SET_TARGET_PROPERTIES(kbfxplasmadatastub PROPERTIES
- # SOVERSION ${LIB_MAJOR}
- # VERSION ${APPLICATION_VERSION})
- TARGET_LINK_LIBRARIES(kbfxplasmadatastub
- kbfxdata
- ${QT_AND_KDECORE_LIBS}
- ${KDE3_KIO_LIBRARY}
- ${KDE3_UI_LIBRARY}
- ${KDE3_KHTML_LIBRARY}
- ${M_LIBRARY}
- )
-
- KDE3_INSTALL_LIBTOOL_FILE(kbfxplasmadatastub ${LIB_INSTALL_DIR}/kbfx/plugins)
-ELSE (NOT USE_KDE4)
- KDE4_AUTOMOC(${libkbfxplasmadatastubsrc})
-
- KDE4_ADD_LIBRARY(kbfxplasmadatastub SHARED ${libkbfxplasmadatastubsrc})
- TARGET_LINK_LIBRARIES(kbfxplasmadatastub
- kbfxdata
- ${KDE4_KDECORE_LIBS}
- ${KDE4_KIO_LIBS}
- ${KDE4_KDEUI_LIBS}
- ${KDE4_KHTML_LIBS}
- ${M_LIBRARY}
- )
-
- KDE4_INSTALL_LIBTOOL_FILE(kbfxplasmadatastub ${LIB_INSTALL_DIR}/kbfx/plugins)
-ENDIF (NOT USE_KDE4)
-
-INSTALL(TARGETS kbfxplasmadatastub DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins)
+#################################################
+#
+# (C) 2011 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing.net
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kbfxplasmadatastub #########################
+
+set( target kbfxplasmadatastub )
+
+set( ${target}_SRCS
+ kbfxplasmadataplugin.cpp
+)
+
+tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+# VERSION 4.2.0
+ LINK DCOP-shared kdecore-shared kdeui-shared kio-shared khtml-shared ${M_LIBRARY} kbfxdata
+ DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins
+)
+
+
+##### headers #######################################
+
+file( GLOB HEADERS *.h )
INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins)