2014-03-23 20:26:44 +00:00
|
|
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/FindLibsnore.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/FindLibsnore${SNORE_SUFFIX}.cmake" @ONLY)
|
|
|
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/FindLibsnore${SNORE_SUFFIX}.cmake" DESTINATION share/apps/cmake/modules)
|
2011-08-02 15:50:07 +00:00
|
|
|
|
2014-03-23 20:51:00 +00:00
|
|
|
if(UNIX AND WITH_SNORE_DEAMON)
|
2014-03-24 17:15:06 +00:00
|
|
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/snorenotify.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/snorenotify.desktop" @ONLY)
|
|
|
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/snorenotify.desktop" DESTINATION ${XDG_APPS_INSTALL_DIR})
|
2014-03-23 20:51:00 +00:00
|
|
|
endif(UNIX AND WITH_SNORE_DEAMON)
|
2013-07-01 09:18:15 +00:00
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
add_subdirectory(snoretoast)
|
2014-03-23 20:26:44 +00:00
|
|
|
endif(WIN32)
|