[check] Fix library cannot be found (#9267)

This commit is contained in:
NancyLi1013 2019-12-20 12:08:43 -08:00 committed by dan-shaw
parent 81b9d5f890
commit 50328cf60d
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,4 @@
Source: check
Version: 0.13.0
Version: 0.13.0-1
Homepage: https://github.com/libcheck/check
Description: A unit testing framework for C

View File

@ -1,4 +1,3 @@
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libcheck/check
@ -14,7 +13,7 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/check)
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)