aboutsummaryrefslogtreecommitdiff
path: root/bundle.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bundle.lua')
-rw-r--r--bundle.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundle.lua b/bundle.lua
index 50417f76d..62a0597e9 100644
--- a/bundle.lua
+++ b/bundle.lua
@@ -82,6 +82,10 @@ local function _find_vcpkg_binary(triple, port, binary)
end
bin_path = root_dir.."/installed/"..triple.."/tools/"..port.."/"..binary
+ if not os.isfile(bin_path) then
+ raise("Unable to locate vcpkg tool "..bin_path)
+ end
+
return bin_path
end