From 7873f520740244941a436afcd7e32bf85a305c6c Mon Sep 17 00:00:00 2001 From: Alastair Houghton Date: Tue, 25 Jul 2023 12:13:07 +0100 Subject: [PATCH] [Linux][Backtracing] Fix CMake scripts to install correctly. The script erroneously used `UNIVERSAL_LIBRARY_NAME` instead of `UNIVERSAL_NAME`. rdar://112662487 --- stdlib/cmake/modules/AddSwiftStdlib.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/cmake/modules/AddSwiftStdlib.cmake b/stdlib/cmake/modules/AddSwiftStdlib.cmake index d6db69405bb89..ac3b144c7e1d5 100644 --- a/stdlib/cmake/modules/AddSwiftStdlib.cmake +++ b/stdlib/cmake/modules/AddSwiftStdlib.cmake @@ -2976,7 +2976,7 @@ function(add_swift_target_executable name) add_dependencies(${install_in_component} ${lipo_target}) set(install_dest "libexec${LLVM_LIBDIR_SUFFIX}/swift/${resource_dir_sdk_subdir}") - swift_install_in_component(FILES "${UNIVERSAL_LIBRARY_NAME}" + swift_install_in_component(FILES "${UNIVERSAL_NAME}" DESTINATION ${install_dest} COMPONENT "${install_in_component}" PERMISSIONS