Fixed sdrpp.desktop installation path

This commit is contained in:
Nikolay Korotkiy 2021-10-29 03:17:53 +03:00
parent 312c80b355
commit 2c7c93b64c
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

View File

@ -210,7 +210,7 @@ install(DIRECTORY ${CMAKE_SOURCE_DIR}/root/res/themes DESTINATION share/sdrpp)
configure_file(${CMAKE_SOURCE_DIR}/sdrpp.desktop ${CMAKE_CURRENT_BINARY_DIR}/sdrpp.desktop @ONLY)
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sdrpp.desktop DESTINATION /usr/share/applications)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sdrpp.desktop DESTINATION share/applications)
endif ()
# Create uninstall target