diff options
Diffstat (limited to 'async/autotests')
-rw-r--r-- | async/autotests/CMakeLists.txt | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/async/autotests/CMakeLists.txt b/async/autotests/CMakeLists.txt index 8116f13..b2209ab 100644 --- a/async/autotests/CMakeLists.txt +++ b/async/autotests/CMakeLists.txt | |||
@@ -1,11 +1,13 @@ | |||
1 | include_directories(../src ${CMAKE_CURRENT_BINARY_DIR}) | 1 | include(ECMAddTests) |
2 | 2 | ||
3 | add_executable(asynctest asynctest.cpp) | 3 | ecm_add_test(asynctest.cpp |
4 | qt5_use_modules(asynctest Test) | 4 | TEST_NAME asynctest |
5 | target_link_libraries(asynctest akonadi2async Qt5::Core Qt5::Test) | 5 | LINK_LIBRARIES KF5Async Qt5::Test |
6 | ) | ||
6 | 7 | ||
7 | if (WITH_KJOB) | 8 | if (WITH_KJOB) |
8 | add_executable(kjobtest kjobtest.cpp testkjob.cpp) | 9 | ecm_add_test(kjobtest.cpp testkjob.cpp |
9 | qt5_use_modules(kjobtest Test) | 10 | TEST_NAME kjobtest |
10 | target_link_libraries(kjobtest akonadi2async Qt5::Core Qt5::Test KF5::CoreAddons) | 11 | LINK_LIBRARIES KF5Async Qt5::Test KF5::CoreAddons |
11 | endif () \ No newline at end of file | 12 | ) |
13 | endif() | ||