mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
Add installation for linux
This commit is contained in:
parent
7f2e87580f
commit
83ffd7c9fb
4 changed files with 90 additions and 0 deletions
|
@ -60,3 +60,19 @@ else()
|
|||
add_subdirectory(3rdparty/hidapi/libusb)
|
||||
#list(APPEND LIBS hidapi-libusb)
|
||||
endif()
|
||||
|
||||
# Linux installation
|
||||
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Linux|FreeBSD|OpenBSD")
|
||||
# Install the application icon and menu item
|
||||
install(FILES rpcs3/rpcs3.svg
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
|
||||
install(FILES rpcs3/rpcs3.png
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/48x48/apps)
|
||||
install(FILES rpcs3/rpcs3.desktop
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
|
||||
# Install the binary
|
||||
install(FILES "${PROJECT_BINARY_DIR}/bin/rpcs3"
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
|
||||
PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) # i.e. 755
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue