Premove only when going forward.
[kaya.git] / CMakeLists.txt
blob82345fa334989f11ca3bb29c172efc1a4448845a
1 project(kaya)
2 cmake_minimum_required(VERSION 2.6)
4 find_package(KDE4 REQUIRED)
5 include(KDE4Defaults)
6 add_subdirectory(lib)
9 configure_file(main.rb main.rb)
11 install(DIRECTORY lib DESTINATION ${DATA_INSTALL_DIR}/kaya
12   FILES_MATCHING PATTERN "*.rb"
13   PATTERN "plugins" EXCLUDE)
14 install(DIRECTORY lib/plugins DESTINATION ${DATA_INSTALL_DIR}/kaya/lib)
15 install(FILES ${PROJECT_BINARY_DIR}/main.rb
16         DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
17         PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
18         RENAME kaya)