Skip to content

Commit

Permalink
z_vcpkg_fixup_rpath_macho.cmake: Fix empty list check (microsoft#41443)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort authored Oct 9, 2024
1 parent 4f93ec0 commit c45ac46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cmake/z_vcpkg_fixup_rpath_macho.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit c45ac46

Please sign in to comment.