From 57a3dcba50c3c891ce12f82bfa32167cbdfeabaa Mon Sep 17 00:00:00 2001 From: Martin Heni Date: Tue, 15 Aug 2006 07:30:37 +0000 Subject: [PATCH] Added the correct cmake data files. IconLoader->Icon svn path=/trunk/KDE/kdegames/lskat/; revision=573192 --- CMakeLists.txt | 3 ++- grafix/CMakeLists.txt | 15 +++++++++++++++ src/mainwindow.cpp | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 grafix/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d4e2f5..36363f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,10 @@ project(lskat) add_subdirectory(src) +add_subdirectory(grafix) ########### install files ############### install( FILES lskat.desktop DESTINATION ${XDG_APPS_DIR} ) -kde4_install_icons( ${ICON_INSTALL_DIR} ) +kde4_install_icons( ${ICON_INSTALL_DIR} hicolor ) diff --git a/grafix/CMakeLists.txt b/grafix/CMakeLists.txt new file mode 100644 index 0000000..6278123 --- /dev/null +++ b/grafix/CMakeLists.txt @@ -0,0 +1,15 @@ + +########### install files ############### + +install( FILES +aiinput.png +mouseinput.png +moveicon.png +networkinput.png +t0.png +t1.png +t2.png +t3.png +t4.png +DESTINATION ${DATA_INSTALL_DIR}/lskat/grafix) + diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 65baeba..d281944 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include #include -- GitLab