summaryrefslogtreecommitdiffstats
path: root/async/autotests
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2015-05-15 16:01:11 +0200
committerDan Vrátil <dvratil@redhat.com>2015-05-15 16:22:30 +0200
commit4a55ae0536e46020ca17070155a3223536e36703 (patch)
tree180b06f1f5daf1e28164303395a9f203ebf40644 /async/autotests
parent5b78e0da1d64b6096829f54b29f14ec5643b5ece (diff)
downloadsink-4a55ae0536e46020ca17070155a3223536e36703.tar.gz
sink-4a55ae0536e46020ca17070155a3223536e36703.zip
Async: make it a stand-alone CMake project
Diffstat (limited to 'async/autotests')
-rw-r--r--async/autotests/CMakeLists.txt18
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 @@
1include_directories(../src ${CMAKE_CURRENT_BINARY_DIR}) 1include(ECMAddTests)
2 2
3add_executable(asynctest asynctest.cpp) 3ecm_add_test(asynctest.cpp
4qt5_use_modules(asynctest Test) 4 TEST_NAME asynctest
5target_link_libraries(asynctest akonadi2async Qt5::Core Qt5::Test) 5 LINK_LIBRARIES KF5Async Qt5::Test
6)
6 7
7if (WITH_KJOB) 8if (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
11endif () \ No newline at end of file 12 )
13endif()