2019-10-08 01:35:13 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO team-charls/charls
|
2023-01-20 10:02:31 +08:00
|
|
|
REF dd9e90d2d2be86194cc3bd164b5cce35abcf2024 #v2.4.1
|
|
|
|
SHA512 33690d1647e57dedb22ad5cb75e4b41de41d0c603e0ec8e4b27dc2fa2ce71a97ab07deaa1aa42154369efb609b3954f7db51317f1dafd83d6cf882f2bade59a9
|
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
|
|
|
|
2022-02-23 04:07:10 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
2019-10-08 01:35:13 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
2021-10-28 06:19:28 +08:00
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|