File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,10 +165,14 @@ if ( BUILD_PACKAGE )
165165endif ()
166166
167167if ( NOT WIN32 )
168- install (FILES "${CMAKE_SOURCE_DIR } /res/linux/openxcom.desktop" DESTINATION share/applications)
169- install (FILES "${CMAKE_SOURCE_DIR } /res/linux/icons/openxcom_48x48.png" DESTINATION share/icons/hicolor/48x48/apps RENAME openxcom.png)
170- install (FILES "${CMAKE_SOURCE_DIR } /res/linux/icons/openxcom_128x128.png" DESTINATION share/icons/hicolor/128x128/apps RENAME openxcom.png)
171- install (FILES "${CMAKE_SOURCE_DIR } /res/linux/icons/openxcom.svg" DESTINATION share/icons/hicolor/scalable/apps)
168+ install (FILES "${CMAKE_SOURCE_DIR } /res/linux/openxcom.desktop"
169+ DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR} /applications" )
170+ install (FILES "${CMAKE_SOURCE_DIR } /res/linux/icons/openxcom_48x48.png"
171+ DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR} /icons/hicolor/48x48/apps" RENAME openxcom.png)
172+ install (FILES "${CMAKE_SOURCE_DIR } /res/linux/icons/openxcom_128x128.png"
173+ DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR} /icons/hicolor/128x128/apps" RENAME openxcom.png)
174+ install (FILES "${CMAKE_SOURCE_DIR } /res/linux/icons/openxcom.svg"
175+ DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR} /icons/hicolor/scalable/apps" )
172176endif ()
173177
174178add_subdirectory ( docs )
You can’t perform that action at this time.
0 commit comments