2016-12-07 19:30:12 +08:00
|
|
|
include(vcpkg_common_functions)
|
|
|
|
|
2019-10-08 01:35:13 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO team-charls/charls
|
2020-01-03 05:30:27 +08:00
|
|
|
REF 2.1.0
|
|
|
|
SHA512 456539243d984ebe6afe1bbb7c9422e642cf0346d25d220126ad8a6d04e945c6c340ab3c2b73a7db4ec390ed6a52236e5c6e9ad6d14e8b78b701937810fb327d
|
2019-10-08 01:35:13 +08:00
|
|
|
HEAD_REF master
|
2016-12-07 19:30:12 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2019-08-01 04:01:02 +08:00
|
|
|
PREFER_NINJA
|
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
|
2016-12-07 19:30:12 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
2020-01-03 05:30:27 +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()
|