summaryrefslogtreecommitdiffstats
path: root/kdecore/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/tests/CMakeLists.txt')
-rw-r--r--kdecore/tests/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/kdecore/tests/CMakeLists.txt b/kdecore/tests/CMakeLists.txt
index bc6dcabf7..4e6bf4592 100644
--- a/kdecore/tests/CMakeLists.txt
+++ b/kdecore/tests/CMakeLists.txt
@@ -52,3 +52,9 @@ tde_add_check_executable( kidlservertest AUTOMOC SOURCES KIDLTest.cpp KIDLTest.s
LINK kconfigtest-shared )
tde_add_check_executable( kidlclienttest AUTOMOC SOURCES KIDLTestClient.cpp
KIDLTest.stub LINK kconfigtest-shared )
+
+set_property(
+ SOURCE KIDLTestClient.cpp
+ APPEND PROPERTY
+ OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/KIDLTest_stub.cpp
+)