aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2019-12-20 12:08:43 -0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2019-12-20 12:08:43 -0800
commit50328cf60d6ce92d0beb896f141cba863d7f7800 (patch)
treee9297221595d3638de53dc91765cc2abf0e61a7b
parent81b9d5f890775e969b8e5b004f81cd26e134cbf5 (diff)
downloadvcpkg-50328cf60d6ce92d0beb896f141cba863d7f7800.tar.gz
vcpkg-50328cf60d6ce92d0beb896f141cba863d7f7800.zip
[check] Fix library cannot be found (#9267)
-rw-r--r--ports/check/CONTROL3
-rw-r--r--ports/check/portfile.cmake3
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/check/CONTROL b/ports/check/CONTROL
index f529ad731..ae6b64a4b 100644
--- a/ports/check/CONTROL
+++ b/ports/check/CONTROL
@@ -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
diff --git a/ports/check/portfile.cmake b/ports/check/portfile.cmake
index c5271e8f7..4e65bdfcc 100644
--- a/ports/check/portfile.cmake
+++ b/ports/check/portfile.cmake
@@ -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)