[vcpkg] Fix spec instance name (#10660)

* [vcpkg] Fix spec instance name

* Change cub version for testing the changes

* Add vulkan-hpp to test
This commit is contained in:
Phoebe 2020-04-04 00:41:36 +08:00 committed by GitHub
parent e1fc03c474
commit 8782b0b8b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
Source: cub
Version: 1.8.0
Version: 1.8.0-1
Description: CUB is a flexible library of cooperative threadblock primitives and other utilities for CUDA kernel programming
Build-Depends: cuda

View File

@ -1,4 +1,4 @@
Source: vulkan-hpp
Version: 2019-05-11
Version: 2019-05-11-1
Description: Header only C++ bindings for the Vulkan C API
Build-Depends: vulkan

View File

@ -831,7 +831,7 @@ namespace vcpkg::Build
{
for (const FeatureSpec& fspec : kv.second)
{
if (!(status_db.is_installed(fspec) || spec.name() == name))
if (!(status_db.is_installed(fspec) || fspec.name() == name))
{
missing_fspecs.emplace_back(fspec);
}