plasma-framework/tests/testengine/CMakeLists.txt
Harald Sitter 6e39c1de5b do not install testengine
Summary:
by default users have to opt out of BUILD_TESTING meaning everyone would
by default build and get testengine installed even though it serves no
purpose in production. this also includes distros as I've noticed :O

do not install the engine, same as testplugin isn't getting installed.

(I am actually thinking throwing it away as a whole may make sense; it
 serves no real purpose over any other engine)

Reviewers: mart, apol

Reviewed By: apol

Subscribers: broulik, apol, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D28463
2020-04-06 12:40:42 +02:00

11 lines
351 B
CMake

add_library(plasma_engine_testengine MODULE testengine.cpp)
kcoreaddons_desktop_to_json(
plasma_engine_testengine plasma-dataengine-testengine.desktop
SERVICE_TYPES ${CMAKE_SOURCE_DIR}/src/plasma/data/servicetypes/plasma-dataengine.desktop
)
target_link_libraries(plasma_engine_testengine
KF5::KIOWidgets KF5::Plasma)