vcpkg/ports/charls/portfile.cmake

26 lines
685 B
CMake
Raw Normal View History

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO team-charls/charls
REF "${VERSION}"
SHA512 4f1b587f008956ab6fb9d2473c37a7b1a842633113245be7f8bb29b8c64304a6d580a29fcfca97ba1ac75adedbaf89e29adc4ac9e4117e1af1aa5949dbd34df9
HEAD_REF master
2016-12-07 19:30:12 +08:00
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
2016-12-07 19:30:12 +08:00
OPTIONS
-DCHARLS_BUILD_TESTS=OFF
-DCHARLS_BUILD_SAMPLES=OFF
-DCHARLS_BUILD_FUZZ_TEST=OFF
2016-12-07 19:30:12 +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
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()