Changeset View
Changeset View
Standalone View
Standalone View
addons/filetree/CMakeLists.txt
Show All 21 Lines | |||||
22 | add_library (katefiletreeplugin MODULE ${katefiletreeplugin_PART_SRCS}) | 22 | add_library (katefiletreeplugin MODULE ${katefiletreeplugin_PART_SRCS}) | ||
23 | target_link_libraries(katefiletreeplugin katefiletree) | 23 | target_link_libraries(katefiletreeplugin katefiletree) | ||
24 | 24 | | |||
25 | install(TARGETS katefiletreeplugin DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor ) | 25 | install(TARGETS katefiletreeplugin DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor ) | ||
26 | 26 | | |||
27 | kcoreaddons_desktop_to_json (katefiletreeplugin katefiletreeplugin.desktop) | 27 | kcoreaddons_desktop_to_json (katefiletreeplugin katefiletreeplugin.desktop) | ||
28 | 28 | | |||
29 | ############# unit tests ################ | 29 | ############# unit tests ################ | ||
30 | ecm_optional_add_subdirectory (autotests) | 30 | if (BUILD_TESTING) | ||
31 | add_subdirectory(autotests) | ||||
32 | endif() |