Changeset View
Changeset View
Standalone View
Standalone View
tests/CMakeLists.txt
1 | find_package(Qt5 REQUIRED CONFIG COMPONENTS Test) | 1 | find_package(Qt5 REQUIRED CONFIG COMPONENTS Test) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | include_directories(${libksysguard_SOURCE_DIR}) | 3 | include_directories(${libksysguard_SOURCE_DIR}) | ||
4 | if(Qt5WebKitWidgets_FOUND) | 4 | if(Qt5WebEngineWidgets_FOUND) | ||
5 | # Process unit test | 5 | # Process unit test | ||
6 | ecm_qt_declare_logging_category(processtest_debug_SRCS HEADER processcore_debug.h IDENTIFIER LIBKSYSGUARD_PROCESSCORE CATEGORY_NAME org.kde.libksysguard.processcore) | 6 | ecm_qt_declare_logging_category(processtest_debug_SRCS HEADER processcore_debug.h IDENTIFIER LIBKSYSGUARD_PROCESSCORE CATEGORY_NAME org.kde.libksysguard.processcore) | ||
7 | ecm_add_test(processtest.cpp ${processtest_debug_SRCS} TEST_NAME processtest | 7 | ecm_add_test(processtest.cpp ${processtest_debug_SRCS} TEST_NAME processtest | ||
8 | LINK_LIBRARIES KF5::ProcessUi Qt5::Test) | 8 | LINK_LIBRARIES KF5::ProcessUi Qt5::Test) | ||
9 | endif() | 9 | endif() | ||
10 | 10 | | |||
11 | if (KF5Plasma_FOUND) | 11 | if (KF5Plasma_FOUND) | ||
12 | set(SIGNALPLOTTER_DEBUG_SRCS) | 12 | set(SIGNALPLOTTER_DEBUG_SRCS) | ||
Show All 34 Lines |