commit 6b2ff358f11fae92a867f30740a3708c8f8153fe
Author: Kornel Benko <[email protected]>
Date:   Thu Jan 8 10:19:40 2026 +0100

    Do not install _debug.dylib files on MacOS using bundle with QT6
    
    Patch from Patrick (pdv <[email protected]>)
    
    To quote Patrick:
    ...
    I tried to install a bundle with the _debug versions only but apparently
    the CMake fixup_bundle() routine does not accept this. The problem is
    line 810 in the bundle_utilities.
    ...
---
 development/cmake/post_install/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/development/cmake/post_install/CMakeLists.txt 
b/development/cmake/post_install/CMakeLists.txt
index fd5d88ed94..950943100e 100644
--- a/development/cmake/post_install/CMakeLists.txt
+++ b/development/cmake/post_install/CMakeLists.txt
@@ -51,7 +51,7 @@ if(LYX_BUNDLE)
     if (APPLE AND LYX_USE_QT MATCHES "QT6")
       # With QT6, just copy all the plugins
       file(GLOB QT_PLUGIN_DIRECTORIES "${QT_PLUGINS_DIR}/*")
-      install(DIRECTORY ${QT_PLUGIN_DIRECTORIES} DESTINATION 
"${qtplugin_dest_dir}/plugins/" COMPONENT Runtime)
+      install(DIRECTORY ${QT_PLUGIN_DIRECTORIES} DESTINATION 
"${qtplugin_dest_dir}/plugins/" COMPONENT Runtime REGEX "\\_debug\\.dylib$" 
EXCLUDE)
     endif()
     # Install code does the following:
     # - Creates the qt.conf file
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to