2021-09-03 04:56:12 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO magiblot/tvision
|
2024-04-29 21:06:20 +08:00
|
|
|
REF d1fa783e0fa8685c199563a466cdc221e8d9b85c
|
2021-09-03 04:56:12 +08:00
|
|
|
HEAD_REF master
|
2024-04-29 21:06:20 +08:00
|
|
|
SHA512 84c7c4f47274fa4976004b2d542e47446f4bb3eca54b4426f19a2de5e381eb78e42d87f12ab00d7d6ceb05d3d32462da2c02dc3e4a7ef06e3f6fcbbe87c30ac1
|
2021-09-03 04:56:12 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
OPTIONS
|
|
|
|
-DTV_BUILD_EXAMPLES=OFF
|
2024-04-29 21:06:20 +08:00
|
|
|
-DTV_BUILD_TESTS=OFF
|
2021-09-03 04:56:12 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
|
2024-04-29 21:06:20 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYRIGHT")
|