Changeset View
Changeset View
Standalone View
Standalone View
addons/project/CMakeLists.txt
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 37 | target_link_libraries(kateprojectplugin | |||
---|---|---|---|---|---|
42 | KF5::NewStuff # For KMoreTools | 42 | KF5::NewStuff # For KMoreTools | ||
43 | ) | 43 | ) | ||
44 | 44 | | |||
45 | ########### install files ############### | 45 | ########### install files ############### | ||
46 | install(TARGETS kateprojectplugin DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor ) | 46 | install(TARGETS kateprojectplugin DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor ) | ||
47 | install( FILES kateproject.example DESTINATION ${DATA_INSTALL_DIR}/kateproject ) | 47 | install( FILES kateproject.example DESTINATION ${DATA_INSTALL_DIR}/kateproject ) | ||
48 | 48 | | |||
49 | ############# unit tests ################ | 49 | ############# unit tests ################ | ||
50 | ecm_optional_add_subdirectory (autotests) | 50 | if (BUILD_TESTING) | ||
51 | add_subdirectory(autotests) | ||||
52 | endif() |