move the line that installs zoneminder.desktop into the misc/CMakeLists.txt

This commit is contained in:
Isaac Connor 2017-04-26 16:11:45 -04:00
parent 01c4242d2d
commit 948aceee30
2 changed files with 1 additions and 2 deletions

View File

@ -845,5 +845,4 @@ if(CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
endif(CCACHE_FOUND)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/misc/zoneminder.desktop DESTINATION share/applications)
install(DIRECTORY icons DESTINATION "${CMAKE_INSTALL_DATADIR}/zoneminder/")

View File

@ -15,4 +15,4 @@ configure_file(zoneminder-tmpfiles.conf.in "${CMAKE_CURRENT_BINARY_DIR}/zonemind
# Install Policykit rules and actions into the proper folders
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/com.zoneminder.systemctl.policy" DESTINATION "${PC_POLKIT_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/polkit-1/actions")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/com.zoneminder.systemctl.rules" DESTINATION "${PC_POLKIT_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/polkit-1/rules.d")
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/zoneminder.desktop DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")