2 cmake_minimum_required(VERSION 2.6)
4 find_package(KDE4 REQUIRED)
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