kde-extraapps/krdc/test/CMakeLists.txt
Ivailo Monev 59190d3194 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:12:24 +00:00

26 lines
575 B
CMake

if(NOT NDEBUG)
set(BUILD_TEST true)
endif(NOT NDEBUG)
if(BUILD_TEST)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
set(testplugin_SRCS
testviewfactory.cpp
testview.cpp
)
kde4_add_plugin(krdc_testplugin ${testplugin_SRCS})
target_link_libraries(krdc_testplugin
${KDE4_KDECORE_LIBS}
${KDE4_KDEUI_LIBS}
krdccore
)
install(TARGETS krdc_testplugin DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
install(FILES krdc_test.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
endif(BUILD_TEST)