mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-17 03:44:36 +00:00
CMake: Don't copy desktop file to resources
No longer needed as of d5037f1242.
This commit is contained in:
@@ -227,15 +227,4 @@ function(add_core_resources target)
|
||||
endif()
|
||||
add_resources(${target} ${path} ${CMAKE_SOURCE_DIR}/data/resources/)
|
||||
endforeach()
|
||||
|
||||
# Linux platforms need a copy of the .desktop and icon file because Wayland stupidity.
|
||||
# See QtHost::EarlyProcessStartup() for where this is used and why. We still need to set it when running
|
||||
# as a Flatpak, but thankfully we don't need the extra copy.
|
||||
if((LINUX OR BSD) AND (NOT DEFINED ENV{container}))
|
||||
message(STATUS "Copying desktop file to resources directory.")
|
||||
set(PACKAGING_SOURCE_DIR "${CMAKE_SOURCE_DIR}/scripts/packaging")
|
||||
foreach(path "org.duckstation.DuckStation.desktop" "org.duckstation.DuckStation.png")
|
||||
add_resources(${target} "${PACKAGING_SOURCE_DIR}/${path}" "${PACKAGING_SOURCE_DIR}")
|
||||
endforeach()
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user