mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
z_vcpkg_fixup_rpath_macho.cmake: Fix empty list check (#41443)
This commit is contained in:
parent
4f93ec0b4b
commit
c45ac46dcc
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user