From 337f5063704f072b969caef3afb75ad126fbed79 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 23 Oct 2006 06:53:27 +0000 Subject: [PATCH] Apply Alex patch (now we can use enable-final argument some module compiles with enable-final now) As discussed with Alex it's not necessary to have program name into automoc macro svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=598290 --- CMakeLists.txt | 2 +- tests/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54c2cbe74..5c6100e67 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ set(plasma_LIB_SRCS appletLayout.cpp appletCompositor.cpp ) -kde4_automoc(plasma ${plasma_LIB_SRCS}) +kde4_automoc(${plasma_LIB_SRCS}) kde4_add_library(plasma SHARED ${plasma_LIB_SRCS}) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3c9d22ea4..f28546f62 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -5,7 +5,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/workspace/plasma/lib ) set(testAppletInfo_SRCS testAppletInfo.cpp ) -kde4_automoc(testAppletInfo ${testAppletInfo_SRCS}) +kde4_automoc(${testAppletInfo_SRCS}) kde4_add_executable(testAppletInfo ${testAppletInfo_SRCS})