build: fix checking if bin pkg host deps installed
Fix the check for host dependency packages being downloaded to not run if the package is already installed. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
80f595c0b0
commit
357eccc6eb
|
@ -365,11 +365,11 @@ function(get_binary_packages vcpkg_exe)
|
|||
|
||||
if(NOT pkg_installed)
|
||||
download_package("${pkg}" "${bin_pkgs_dir}")
|
||||
endif()
|
||||
|
||||
if(NOT EXISTS "${bin_pkgs_dir}/${pkg}")
|
||||
message(STATUS "Failed to download host dependency package '${pkg}', aborting.")
|
||||
return()
|
||||
if(NOT EXISTS "${bin_pkgs_dir}/${pkg}")
|
||||
message(STATUS "Failed to download host dependency package '${pkg}', aborting.")
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
endwhile()
|
||||
|
|
Loading…
Reference in New Issue