Fix icon installation path on Linux

This commit is contained in:
Connor Lirot 2017-05-22 19:56:47 -05:00
parent b646b284bf
commit da2754d41e
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ endif()
# #
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/rpm ${CMAKE_BINARY_DIR}/rpm) configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/rpm ${CMAKE_BINARY_DIR}/rpm)
install(FILES res/synergy.svg DESTINATION share/icons) install(FILES res/synergy.svg DESTINATION share/icons/hicolor/scalable/apps)
if("${VERSION_MAJOR}" STREQUAL "2") if("${VERSION_MAJOR}" STREQUAL "2")
install(FILES res/synergy2.desktop DESTINATION share/applications) install(FILES res/synergy2.desktop DESTINATION share/applications)
else() else()