11 lines
294 B
CMake
Raw Normal View History

2022-03-05 22:41:29 +05:00
add_definitions(-DKSMSERVER_UNIT_TEST)
include(ECMMarkAsTest)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/..)
add_executable(kcmTest kcmtest.cpp)
target_link_libraries(kcmTest kcm_lookandfeel_objects Qt::Test)
add_test(NAME lookandfeel-kcmTest COMMAND kcmTest)
ecm_mark_as_test(kcmTest)