2020-06-13 09:06:25 +08:00
|
|
|
vcpkg_download_distfile(ARCHIVE
|
2021-12-07 13:12:22 +08:00
|
|
|
URLS "https://github.com/boostorg/nowide/releases/download/v11.1.3/nowide_standalone_v11.1.3.tar.gz"
|
|
|
|
FILENAME "nowide_standalone_v11.1.3.tar.gz"
|
|
|
|
SHA512 8e493b9ee7f3f218dcc1a0c2f040c040f8f3d10ec7c204caee92986a2cc54d4fc06f530b13e7b14cfdbbd42fd106e151916e2f8fae524a051688d6785d7c2993
|
2020-06-13 09:06:25 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_extract_source_archive_ex(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
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")
|
|
|
|
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|