2021-02-03 10:40:56 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO acoustid/chromaprint
|
2023-09-02 03:01:11 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 ea16e4d2b879c15b1d9b9ec93878da8b893f1834c70942663e1d2d106c2e0a661094fe2dd3bae7a6c2a1f9d5d8fab5e0b0ba493561090cf57b2228606fad1e66
|
|
|
|
HEAD_REF master
|
2021-02-03 10:40:56 +08:00
|
|
|
)
|
|
|
|
|
2023-03-07 07:44:04 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2023-09-02 03:01:11 +08:00
|
|
|
OPTIONS
|
|
|
|
-DBUILD_TESTS=OFF
|
2021-02-03 10:40:56 +08:00
|
|
|
)
|
2023-03-07 07:44:04 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-02-03 10:40:56 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2023-09-02 03:01:11 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|