2020-06-13 09:06:25 +08:00
|
|
|
vcpkg_download_distfile(ARCHIVE
|
2023-07-01 08:35:35 +08:00
|
|
|
URLS "https://github.com/boostorg/nowide/releases/download/v${VERSION}/nowide_standalone_v${VERSION}.tar.gz"
|
|
|
|
FILENAME "nowide_standalone_v${VERSION}.tar.gz"
|
|
|
|
SHA512 68e4d4b11db7265bf91e90b16e35ef2ea3a8ad80031b122067393a4cb89e20e26bacff81c7abddfc7a84d22c0d545875d7ba40b0288c665fb82028f08f957524
|
2020-06-13 09:06:25 +08:00
|
|
|
)
|
|
|
|
|
2023-04-14 00:13:15 +08:00
|
|
|
vcpkg_extract_source_archive(
|
|
|
|
SOURCE_PATH
|
2020-06-13 09:06:25 +08:00
|
|
|
ARCHIVE ${ARCHIVE}
|
|
|
|
)
|
|
|
|
|
2021-12-07 13:12:22 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-06-13 09:06:25 +08:00
|
|
|
OPTIONS -DBUILD_TESTING=OFF
|
|
|
|
)
|
|
|
|
|
2021-12-07 13:12:22 +08:00
|
|
|
vcpkg_cmake_install()
|
2020-06-13 09:06:25 +08:00
|
|
|
|
2021-12-07 13:12:22 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/nowide)
|
2020-06-13 09:06:25 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
2023-07-01 08:35:35 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|