From 0d95f5e537f6d4cd0a9ea7e4a4ddc85bf5c05cba Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Mon, 17 May 2021 09:05:34 +0200 Subject: Use more target-centric cmake code GIT_SILENT --- src/tests/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tests') diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index b628c5ce4..e9a0e2dce 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -62,9 +62,7 @@ TEST_NAME viewpropertiestest LINK_LIBRARIES dolphinprivate dolphinstatic Qt5::Test) # DolphinMainWindowTest -set(dolphinmainwindowtest_SRCS dolphinmainwindowtest.cpp ${CMAKE_SOURCE_DIR}/src/dolphin.qrc) - -ecm_add_test(${dolphinmainwindowtest_SRCS} +ecm_add_test(dolphinmainwindowtest.cpp ${CMAKE_SOURCE_DIR}/src/dolphin.qrc TEST_NAME dolphinmainwindowtest LINK_LIBRARIES dolphinprivate dolphinstatic Qt5::Test) -- cgit v1.3