2020-06-13 03:06:25 +02:00
|
|
|
vcpkg_download_distfile(ARCHIVE
|
2022-07-19 05:18:32 +09:00
|
|
|
URLS "https://github.com/boostorg/nowide/releases/download/v11.2.0/nowide_standalone_v11.2.0.tar.gz"
|
|
|
|
FILENAME "nowide_standalone_v11.2.0.tar.gz"
|
|
|
|
SHA512 c3748921b85648aa0e89970f2ab24588cbc72d05edd7ddf4f61a607d9ecbddd45e9e6799d2ed83386c43045b9487693e027494a81b11a6a7bdfaa939d1251938
|
2020-06-13 03:06:25 +02:00
|
|
|
)
|
|
|
|
|
2023-04-13 18:13:15 +02:00
|
|
|
vcpkg_extract_source_archive(
|
|
|
|
SOURCE_PATH
|
2020-06-13 03:06:25 +02:00
|
|
|
ARCHIVE ${ARCHIVE}
|
|
|
|
)
|
|
|
|
|
2021-12-07 14:12:22 +09:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-06-13 03:06:25 +02:00
|
|
|
OPTIONS -DBUILD_TESTING=OFF
|
|
|
|
)
|
|
|
|
|
2021-12-07 14:12:22 +09:00
|
|
|
vcpkg_cmake_install()
|
2020-06-13 03:06:25 +02:00
|
|
|
|
2021-12-07 14:12:22 +09:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/nowide)
|
2020-06-13 03:06:25 +02:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|