Changeset View
Changeset View
Standalone View
Standalone View
kconf_update/CMakeLists.txt
- This file was added.
1 | find_package(Qt5 REQUIRED COMPONENTS Core) | ||||
---|---|---|---|---|---|
2 | find_package(KF5 REQUIRED COMPONENTS Config) | ||||
3 | | ||||
4 | add_executable(spectacle_update spectacle_update.cpp) | ||||
5 | | ||||
6 | target_link_libraries(spectacle_update Qt5::Core KF5::ConfigCore) | ||||
7 | | ||||
8 | install(TARGETS spectacle_update | ||||
9 | DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin/) | ||||
10 | | ||||
11 | install(FILES spectacle.upd | ||||
12 | DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR} | ||||
13 | ) | ||||
14 | |