From 894c1c85a5e7ea93edea1e0ec85392ad00050e0d Mon Sep 17 00:00:00 2001 From: TGP17 <86961834+TGP17@users.noreply.github.com> Date: Mon, 21 Aug 2023 22:34:54 +0200 Subject: [PATCH] Include Citra Icon in release (#6905) --- CMakeModules/BundleTarget.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeModules/BundleTarget.cmake b/CMakeModules/BundleTarget.cmake index a805d4954..f5b1c06f4 100644 --- a/CMakeModules/BundleTarget.cmake +++ b/CMakeModules/BundleTarget.cmake @@ -189,6 +189,12 @@ else() add_custom_command( TARGET bundle COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_BINARY_DIR}/bundle/") + add_custom_command( + TARGET bundle + COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_BINARY_DIR}/bundle/dist/") + add_custom_command( + TARGET bundle + COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_SOURCE_DIR}/dist/icon.png" "${CMAKE_BINARY_DIR}/bundle/dist/citra.png") add_custom_command( TARGET bundle COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_SOURCE_DIR}/license.txt" "${CMAKE_BINARY_DIR}/bundle/")