summaryrefslogtreecommitdiffstats
path: root/tdeprint/kprinter/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/kprinter/CMakeLists.txt')
-rw-r--r--tdeprint/kprinter/CMakeLists.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/tdeprint/kprinter/CMakeLists.txt b/tdeprint/kprinter/CMakeLists.txt
new file mode 100644
index 000000000..0849ebe12
--- /dev/null
+++ b/tdeprint/kprinter/CMakeLists.txt
@@ -0,0 +1,34 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include( CheckFunctionExists )
+check_function_exists( sigset HAVE_SIGACTION )
+check_function_exists( sigaction HAVE_SIGSET )
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kprinter (tdeinit) ########################
+
+tde_add_tdeinit_executable( kprinter AUTOMOC
+ SOURCES main.cpp printwrapper.cpp
+ LINK tdeprint-shared
+)