From c45ac46dcc16dd588daa029f7ce5bcacc5d7645b Mon Sep 17 00:00:00 2001 From: autoantwort <41973254+autoantwort@users.noreply.github.com> Date: Thu, 10 Oct 2024 00:57:18 +0200 Subject: [PATCH] z_vcpkg_fixup_rpath_macho.cmake: Fix empty list check (#41443) --- scripts/cmake/z_vcpkg_fixup_rpath_macho.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cmake/z_vcpkg_fixup_rpath_macho.cmake b/scripts/cmake/z_vcpkg_fixup_rpath_macho.cmake index f0986f0208..b50472b368 100644 --- a/scripts/cmake/z_vcpkg_fixup_rpath_macho.cmake +++ b/scripts/cmake/z_vcpkg_fixup_rpath_macho.cmake @@ -142,7 +142,7 @@ function(z_vcpkg_fixup_macho_rpath_in_dir) foreach(rpath IN LISTS rpath_list) list(APPEND rpath_args "-delete_rpath" "${rpath}") endforeach() - if(rpath_args STREQUAL "") + if(NOT rpath_args) continue() endif()