summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-08-26 21:05:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-08-26 21:05:50 +0900
commit85278cadecf3d63a6a50e42c070b308ace065a50 (patch)
tree70fbad66d6c9043c60f42242edd689df82396623 /src
parenta18f9fcc94b6982fecb8b75ccb5c21b213e78706 (diff)
downloadtdeio-gopher-85278cadecf3d63a6a50e42c070b308ace065a50.tar.gz
tdeio-gopher-85278cadecf3d63a6a50e42c070b308ace065a50.zip
Fixed docbook building and translations.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt36
1 files changed, 19 insertions, 17 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 65045d6..bc8369e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,28 +1,26 @@
-
-
-
-#set(tdeio_man_PART_SRCS tdeio_gopher.cpp)
-
-#kde4_add_plugin(tdeio_gopher ${tdeio_man_PART_SRCS})
-
-
-#find_package(Msgfmt REQUIRED)
-#find_package(Gettext REQUIRED)
-#add_subdirectory( po )
-#add_subdirectory( doc-translations )
+#################################################
+#
+# (C) 2011 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing.net
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_BINARY_DIR}
- ${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/src
+ ${CMAKE_SOURCE_DIR}/src
)
link_directories(
${TQT_LIBRARY_DIRS}
)
-#####add_subdirectory(doc)
##### other data ################################
@@ -33,8 +31,12 @@ install( FILES gopher.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
set( target tdeio_gopher )
+set( ${target}_SRCS
+ tdeio_gopher.cpp
+)
+
tde_add_kpart( ${target} AUTOMOC
- SOURCES tdeio_gopher.cpp
+ SOURCES ${${target}_SRCS}
LINK tdeio-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)