From a5d21a1242177f0402ba3e6b256c5456ae6f8fc3 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 13 Oct 2006 07:55:37 +0000 Subject: Necessary to change KDE4_AUTOMOC macro to support enable-final argument (there was not a dependancy between _final.cpp file and moc generated files => moc files were never created) Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake /share/apps/cmake/modules I ported and tested 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) Regards svn path=/trunk/KDE/kdebase/workspace/kcontrol/locale/; revision=595039 --- src/kreadconfig/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/kreadconfig/CMakeLists.txt b/src/kreadconfig/CMakeLists.txt index 440a3b1b..328570e3 100644 --- a/src/kreadconfig/CMakeLists.txt +++ b/src/kreadconfig/CMakeLists.txt @@ -7,7 +7,7 @@ project(kreadconfig) set(kreadconfig_SRCS kreadconfig.cpp ) -kde4_automoc(${kreadconfig_SRCS}) +kde4_automoc(kreadconfig ${kreadconfig_SRCS}) kde4_add_executable(kreadconfig ${kreadconfig_SRCS}) @@ -20,7 +20,7 @@ install(TARGETS kreadconfig DESTINATION ${BIN_INSTALL_DIR}) set(kwriteconfig_SRCS kwriteconfig.cpp ) -kde4_automoc(${kwriteconfig_SRCS}) +kde4_automoc(kwriteconfig ${kwriteconfig_SRCS}) kde4_add_executable(kwriteconfig ${kwriteconfig_SRCS}) -- cgit v1.2.1