2019-10-08 01:35:13 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO team-charls/charls
|
2023-05-23 02:34:06 +08:00
|
|
|
REF "${VERSION}"
|
|
|
|
SHA512 4f1b587f008956ab6fb9d2473c37a7b1a842633113245be7f8bb29b8c64304a6d580a29fcfca97ba1ac75adedbaf89e29adc4ac9e4117e1af1aa5949dbd34df9
|
2019-10-08 01:35:13 +08:00
|
|
|
HEAD_REF master
|
2016-12-07 19:30:12 +08:00
|
|
|
)
|
|
|
|
|
2022-02-23 04:07:10 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2016-12-07 19:30:12 +08:00
|
|
|
OPTIONS
|
2020-01-03 05:30:27 +08:00
|
|
|
-DCHARLS_BUILD_TESTS=OFF
|
|
|
|
-DCHARLS_BUILD_SAMPLES=OFF
|
2021-01-28 06:25:19 +08:00
|
|
|
-DCHARLS_BUILD_FUZZ_TEST=OFF
|
2016-12-07 19:30:12 +08:00
|
|
|
)
|
|
|
|
|
2022-02-23 04:07:10 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/charls)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2016-12-07 19:30:12 +08:00
|
|
|
|
2023-05-23 02:34:06 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|
2019-10-08 01:35:13 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
2021-10-28 06:19:28 +08:00
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|