mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 16:39:02 +08:00
8f229feaf1
* [wil] Update to v1.0.220914.1 * Add version
27 lines
800 B
CMake
27 lines
800 B
CMake
#header-only library
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Microsoft/wil
|
|
REF 5f4caba4e7a9017816e47becdd918fcc872039ba
|
|
SHA512 46b0ceb0d2681c76ead9e6626557facf82622b6c22376d26225016d116f6d5b1528401635022f79c2dde97177264442be849ab7c0cbac4a43c0d46e0e3e9e6e5
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DWIL_BUILD_TESTS=OFF
|
|
-DWIL_BUILD_PACKAGING=ON
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/WIL)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
# Install natvis files
|
|
file(INSTALL "${SOURCE_PATH}/natvis/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/natvis")
|
|
|
|
# Install copyright
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |