summaryrefslogtreecommitdiffstats
path: root/kfax/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kfax/CMakeLists.txt')
-rw-r--r--kfax/CMakeLists.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/kfax/CMakeLists.txt b/kfax/CMakeLists.txt
new file mode 100644
index 00000000..ef71229f
--- /dev/null
+++ b/kfax/CMakeLists.txt
@@ -0,0 +1,39 @@
+#################################################
+#
+# (C) 2010-2011 Calvin Morrison
+#
+# 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}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+#### other data #################################
+
+install( FILES kfax.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kfax.tif kfaxlogo.xpm DESTINATION ${DATA_INSTALL_DIR}/kfax/pics )
+install( FILES kfaxui.rc DESTINATION ${DATA_INSTALL_DIR}/kfax )
+
+
+#### kruler (executable) ########################
+
+tde_add_executable( kfax AUTOMOC
+ SOURCES
+ options.cpp kfax.cpp faxexpand.cpp faxinit.cpp
+ faxinput.cpp viewfax.cpp kfax_printsettings.cpp
+ LINK kdeui-shared kdeprint-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)