mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +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)
|
foreach(rpath IN LISTS rpath_list)
|
||||||
list(APPEND rpath_args "-delete_rpath" "${rpath}")
|
list(APPEND rpath_args "-delete_rpath" "${rpath}")
|
||||||
endforeach()
|
endforeach()
|
||||||
if(rpath_args STREQUAL "")
|
if(NOT rpath_args)
|
||||||
continue()
|
continue()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user