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-11-15 09:09:51 +08:00
|
|
|
SHA512 ab038f74d7aa4836de4da3f8613cbabf0c1205f40ee9bf3de9692e8a943b16846a006d5885e2ddb22f9b893256dc4761994ad70f0fb5e8cf14612bc08644b30d
|
2020-08-20 12:17:44 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2024-06-19 23:14:14 -07:00
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
|
|
INVERTED_FEATURES
|
|
|
|
boost NUMCPP_NO_USE_BOOST
|
|
|
|
)
|
|
|
|
|
2021-09-29 17:37:39 +02:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2024-06-19 23:14:14 -07:00
|
|
|
OPTIONS
|
|
|
|
${FEATURE_OPTIONS}
|
2020-08-20 12:17:44 +08:00
|
|
|
)
|
|
|
|
|
2021-09-29 17:37:39 +02:00
|
|
|
vcpkg_cmake_install()
|
2020-08-20 12:17:44 +08:00
|
|
|
|
2021-09-29 17:37:39 +02:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME NumCpp CONFIG_PATH share/NumCpp/cmake)
|
2020-08-20 12:17:44 +08:00
|
|
|
|
2021-09-29 17:37:39 +02: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")
|