┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <[email protected]>2021-05-17 09:05:34 +0200
committerMéven Car <[email protected]>2021-05-31 08:39:17 +0000
commit0d95f5e537f6d4cd0a9ea7e4a4ddc85bf5c05cba (patch)
tree9aee09c19ef9fb32c5ac91ab5db0cc23ec1a9685 /src/tests
parentb6ec4b1c9e0c52ec369db513a6c539d24d8e2275 (diff)
Use more target-centric cmake code
GIT_SILENT
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
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)