From 69b3a6056413efdc81c072506dce9a370dc30c65 Mon Sep 17 00:00:00 2001 From: Gregor Klevze Date: Sun, 30 Nov 2025 14:39:08 +0100 Subject: [PATCH] fix --- cmake/ProductionBuild.cmake | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/cmake/ProductionBuild.cmake b/cmake/ProductionBuild.cmake index d81c519..e448d21 100644 --- a/cmake/ProductionBuild.cmake +++ b/cmake/ProductionBuild.cmake @@ -63,10 +63,17 @@ if(WIN32) endif() # Installation rules for system-wide installation -install(TARGETS tetris - RUNTIME DESTINATION bin - COMPONENT Runtime -) +if(APPLE) + install(TARGETS tetris + BUNDLE DESTINATION . + COMPONENT Runtime + ) +else() + install(TARGETS tetris + RUNTIME DESTINATION bin + COMPONENT Runtime + ) +endif() install(DIRECTORY assets/ DESTINATION share/tetris/assets