From 8fc2a6ca26ff8a6aaffc57357be865a8dcfecbd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 3 Mar 2019 15:22:18 +0100 Subject: Fix CMake build dependencies for tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdecore/tests/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tdecore/tests') diff --git a/tdecore/tests/CMakeLists.txt b/tdecore/tests/CMakeLists.txt index c0fe7d760..36377a255 100644 --- a/tdecore/tests/CMakeLists.txt +++ b/tdecore/tests/CMakeLists.txt @@ -52,3 +52,9 @@ tde_add_check_executable( kidlservertest AUTOMOC SOURCES KIDLTest.cpp KIDLTest.s LINK tdeconfigtest-shared ) tde_add_check_executable( kidlclienttest AUTOMOC SOURCES KIDLTestClient.cpp KIDLTest.stub LINK tdeconfigtest-shared ) + +set_property( + SOURCE KIDLTestClient.cpp + APPEND PROPERTY + OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/KIDLTest_stub.cpp +) -- cgit v1.2.1