diff options
author | Laurent Montel <montel@kde.org> | 2006-10-13 07:55:37 +0000 |
---|---|---|
committer | Aleix Pol <aleixpol@kde.org> | 2014-04-26 14:11:14 +0200 |
commit | a5d21a1242177f0402ba3e6b256c5456ae6f8fc3 (patch) | |
tree | 3acfcbe2574e54ad6217eb6437f61535d531a171 /src | |
parent | a6a272c37512aaef059f3f7ca5f813d5a8fc9cc4 (diff) | |
download | kconfig-a5d21a1242177f0402ba3e6b256c5456ae6f8fc3.tar.gz kconfig-a5d21a1242177f0402ba3e6b256c5456ae6f8fc3.tar.bz2 |
Necessary to change KDE4_AUTOMOC macro to support enable-final argument
(there was not a dependancy between <name>_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 <path_kde4>/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
Diffstat (limited to 'src')
-rw-r--r-- | src/kreadconfig/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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}) |