2020-08-20 12:17:44 +08:00
|
|
|
# header-only library
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO dpilger26/NumCpp
|
2023-05-11 02:27:54 +08:00
|
|
|
REF "Version_${VERSION}"
|
2023-09-26 14:38:52 +08:00
|
|
|
SHA512 57848211a9ff55b12e9590351e5add36082809a3457b2983317b5cb23d8f1c04a65b2c7a17d119b2c3e3959ef152c8e9dc38cf338da362ef9499c9c9eeb393eb
|
2020-08-20 12:17:44 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-09-29 23:37:39 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-08-20 12:17:44 +08:00
|
|
|
)
|
|
|
|
|
2021-09-29 23:37:39 +08:00
|
|
|
vcpkg_cmake_install()
|
2020-08-20 12:17:44 +08:00
|
|
|
|
2021-09-29 23:37:39 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME NumCpp CONFIG_PATH share/NumCpp/cmake)
|
2020-08-20 12:17:44 +08:00
|
|
|
|
2021-09-29 23:37:39 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2020-08-20 12:17:44 +08:00
|
|
|
|
2023-05-11 02:27:54 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|