2019-11-14 05:43:02 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO knik0/faad2
|
2023-02-02 09:10:23 +08:00
|
|
|
REF "${VERSION}"
|
2024-02-09 14:49:56 +08:00
|
|
|
SHA512 b8f17680610b2f47344ea52b54412a02810a85eaf9d4c91b97ca09b2c6415c62d4af1b0771bfcacb9dfee400ed34504c0bd3c28369921c0392b3809e7de46ec5
|
2019-11-14 05:43:02 +08:00
|
|
|
HEAD_REF master
|
2024-02-09 14:49:56 +08:00
|
|
|
PATCHES
|
|
|
|
fix-install.patch
|
2019-11-14 05:43:02 +08:00
|
|
|
)
|
|
|
|
|
2021-11-18 04:33:09 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-11-14 05:43:02 +08:00
|
|
|
)
|
|
|
|
|
2021-11-18 04:33:09 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-11-14 05:43:02 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
2024-02-09 14:49:56 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2020-07-09 05:02:34 +08:00
|
|
|
|
2024-02-09 14:49:56 +08:00
|
|
|
if(VCPKG_TARGET_IS_WINDOWS)
|
|
|
|
vcpkg_copy_tools(TOOL_NAMES faad_cli AUTO_CLEAN)
|
|
|
|
else()
|
|
|
|
vcpkg_copy_tools(TOOL_NAMES faad AUTO_CLEAN)
|
2023-02-02 09:10:23 +08:00
|
|
|
endif()
|
|
|
|
|
2024-02-09 14:49:56 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
|
2023-02-02 09:10:23 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|