vcpkg/ports/linalg/portfile.cmake

14 lines
432 B
CMake
Raw Normal View History

2018-11-05 03:29:53 +08:00
#header-only library
2023-10-10 06:34:56 +08:00
2018-11-05 03:29:53 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sgorsten/linalg
2023-10-10 06:34:56 +08:00
REF "v${VERSION}"
SHA512 736f6ff83fcc4a772ef5ab8e574b0e56aca9fcf2318d92f56f94684ffbd7283540b6496381d52834545b4902147bc67a3afa21ab877bc44bba84471c2eff6862
2018-11-05 03:29:53 +08:00
HEAD_REF master
)
2023-10-10 06:34:56 +08:00
file(INSTALL "${SOURCE_PATH}/linalg.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/UNLICENSE")