vcpkg/ports/sse2neon/portfile.cmake
Jack Gerrits d034400a5d
[sse2neon] Fix sse2neon header install path (#28268)
* [sse2neon] fix header install path

* run ./vcpkg x-add-version --all
2022-12-12 14:28:45 -08:00

15 lines
473 B
CMake

#header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO DLTcollab/sse2neon
REF v1.5.1
SHA512 7d14b074aa5829e218a04975d96fc67adba3fb4ffd9d580ab0bc05048f7abd9143dd308b2d9e8b1600b00427b21b24d49d7a6670c91270fcc6d053c3bca908af
HEAD_REF master
)
# Copy header file
file(COPY "${SOURCE_PATH}/sse2neon.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/sse2neon/")
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")