mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 16:49:01 +08:00
bb14ab72d9
* [simdutf] Update simdutf version to 3.2.15 The command line tool that was added in version 2.0.0 of simdutf is available through the new "tools" feature. * [simdutf] Adjust baseline version * Apply suggestions from code review Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com> * [simdutf] Update baseline version * Revert all changes to the baseline This reverts commitb9114681dc
and7f71a77e83
. * Reset port version to 0 * Update baseline * [simdutf] Update to version 3.2.16 which fixes a build error when targeting x86-windows * [simdutf] Update version files --------- Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
30 lines
806 B
CMake
30 lines
806 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO simdutf/simdutf
|
|
REF "v${VERSION}"
|
|
SHA512 f9d307bc769450cc0ff967ad5d764db15a7c38011c17096fcb824e4a89c0ae29ae66137c9063b8c54a42937600d058a8bd31439cf12c68d31a0053b1b8dd619f
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
"tools" SIMDUTF_TOOLS
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS ${FEATURE_OPTIONS}
|
|
-DSIMDUTF_TESTS=OFF
|
|
-DSIMDUTF_BENCHMARKS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
|
if ("tools" IN_LIST FEATURES)
|
|
vcpkg_copy_tools(TOOL_NAMES sutf AUTO_CLEAN)
|
|
endif()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE-APACHE")
|