vcpkg/ports/sse2neon/portfile.cmake

15 lines
480 B
CMake
Raw Normal View History

2022-12-07 05:20:24 +08:00
#header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO DLTcollab/sse2neon
REF "v${VERSION}"
SHA512 a93d2bfc0f2fe955eb0f1acfc85fdf6ef1f61254944554c0eb93f668233d9046c9c40786b182c31d4e6a181a9eaa366e9ba35c8062be791031e429d108f23cbc
2022-12-07 05:20:24 +08:00
HEAD_REF master
)
# Copy header file
file(COPY "${SOURCE_PATH}/sse2neon.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/sse2neon/")
2022-12-07 05:20:24 +08:00
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")