summaryrefslogtreecommitdiffstats
path: root/kdeprint/kprinter
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/kprinter')
-rw-r--r--kdeprint/kprinter/CMakeLists.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/kdeprint/kprinter/CMakeLists.txt b/kdeprint/kprinter/CMakeLists.txt
new file mode 100644
index 000000000..121c97f5e
--- /dev/null
+++ b/kdeprint/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 (kdeinit) ########################
+
+tde_add_kdeinit_executable( kprinter AUTOMOC
+ SOURCES main.cpp printwrapper.cpp
+ LINK kdeprint-shared
+)