Fix .desktop being installed to user rather than global share

master
rubenwardy 2018-04-19 18:43:26 +01:00
parent 2d5f87f287
commit adf8398fa8
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ install(FILES media/flip_y.png DESTINATION share/nodeboxeditor/media)
install(FILES media/flip_z.png DESTINATION share/nodeboxeditor/media)
install(FILES editor.conf.example DESTINATION share/nodeboxeditor)
if(UNIX)
install (FILES nodeboxeditor.desktop DESTINATION ~/.local/share/applications)
install (FILES nodeboxeditor.desktop DESTINATION share/applications)
endif()
install(FILES README.md DESTINATION share/nodeboxeditor)
install(TARGETS ${PROJECT_NAME} DESTINATION bin)