From 49ee12f5a153466030c45f006f65fc8b2d2e4ea2 Mon Sep 17 00:00:00 2001 From: Keith Smith Date: Tue, 8 Sep 2026 12:37:47 -0600 Subject: [PATCH] Fix macOS configure error: add BUNDLE DESTINATION for install(TARGETS) CMake requires an explicit BUNDLE DESTINATION for install(TARGETS) when the target has MACOSX_BUNDLE set, or configure fails with "install TARGETS give no BUNDLE DESTINATION for MACOSX_BUNDLE executable target". The RUNTIME clause still covers Linux/Windows; BUNDLE only applies when the target actually is a bundle (macOS), so no platform guard is needed. Co-Authored-By: Claude Sonnet 5 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f353f38..9ef01ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -210,6 +210,7 @@ set_target_properties(orbithub PROPERTIES install(TARGETS orbithub RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + BUNDLE DESTINATION . ) set(ORBITHUB_PRIVATE_LIB_DESTINATION "${CMAKE_INSTALL_LIBDIR}/orbithub")