mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-29 17:48:37 +00:00
cmake: add install rules (#1341)
This commit is contained in:
parent
66f1bb937f
commit
04ad430115
|
@ -872,3 +872,11 @@ endif()
|
|||
|
||||
# Discord RPC
|
||||
target_link_libraries(shadps4 PRIVATE discord-rpc)
|
||||
|
||||
# Install rules
|
||||
install(TARGETS shadps4 BUNDLE DESTINATION .)
|
||||
|
||||
if (ENABLE_QT_GUI AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
install(FILES ".github/shadps4.desktop" DESTINATION "share/applications")
|
||||
install(FILES ".github/shadps4.png" DESTINATION "share/icons/hicolor/512x512/apps")
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue