From 8c4c673073b5e6fd7859cccb5dbbf6fa543ebff6 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 13 Oct 2006 13:55:33 +0000 Subject: [PATCH] Necessary to modify KDE4_ADD_KCFG_FILES to support ENABLE_FINAL (there was not a dependancy between _final.cpp file and kcfg file => kfg files were never created) Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake /share/apps/cmake/modules I ported all kde module (without enable-final argument, it compiles fines (test and program)) Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works) (I didn't test all compile for the moment I will fix all compile today (without enable-final argument) kdelibs/kdepimlibs/kdebase/kdeutils compiles fine) svn path=/trunk/playground/graphics/okular/; revision=595199 --- CMakeLists.txt | 2 +- generators/ghostview/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ccf12842..e950e2893 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,7 @@ kde4_add_ui_files(okularcore_SRCS core/chooseenginewidget.ui ) -kde4_add_kcfg_files(okularcore_SRCS conf/settings.kcfgc ) +kde4_add_kcfg_files(okularcore okularcore_SRCS conf/settings.kcfgc ) kde4_automoc(okularcore ${okularcore_SRCS}) diff --git a/generators/ghostview/CMakeLists.txt b/generators/ghostview/CMakeLists.txt index d6ceab284..7972edebe 100644 --- a/generators/ghostview/CMakeLists.txt +++ b/generators/ghostview/CMakeLists.txt @@ -39,7 +39,7 @@ kde4_add_ui_files(okularGenerator_ghostview_SRCS conf/gssettingswidget.ui ) -kde4_add_kcfg_files(okularGenerator_ghostview_SRCS conf/gssettings.kcfgc ) +kde4_add_kcfg_files(okularGenerator_ghostview okularGenerator_ghostview_SRCS conf/gssettings.kcfgc ) kde4_automoc(okularGenerator_ghostview ${okularGenerator_ghostview_SRCS})