From 2cf04f3034f2ef3f13dee204bb598c5875156cd7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 22 Jan 2025 09:12:10 -0500 Subject: [PATCH] Source: Include BundleUtilities from running cmake at install time Since commit 249a9bb44d (cmake-gui: use BundleUtilities in place of custom script., 2010-10-14, v2.8.4~299^2) our install scripts include the `BundleUtilities` module from our own source, rather than from the `cmake` that's running at install time. We've now long required a `cmake` version high enough to have the `BundleUtilities` we need. Avoid including a `BundleUtilities` that may be newer than the running `cmake` understands. --- Source/QtDialog/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index e4b53fd2e7..55f40bf476 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -364,7 +364,7 @@ if(CMake_INSTALL_DEPENDENCIES AND (APPLE OR WIN32)) set(fixup_exe "\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/MacOS/CMake") endif() install(CODE " - include(\"${CMake_SOURCE_DIR}/Modules/BundleUtilities.cmake\") + include(BundleUtilities) set(BU_CHMOD_BUNDLE_ITEMS ON) fixup_bundle(\"${fixup_exe}\" \"${QT_PLUGINS}\" \"${Qt_BIN_DIR};${QT_LIBRARY_DIR};${QT_BINARY_DIR}\") " ${COMPONENT})