vcpkg/ports/matroska/portfile.cmake

25 lines
666 B
CMake
Raw Normal View History

2018-02-17 15:43:25 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Matroska-Org/libmatroska
REF release-1.7.1
SHA512 abb4fb4b527266944b1a59516866462498675c5e71bb679758894dff6156169d7132dddaa2e2ef6187a6dbce4a4aa377eeb75dd869268fd44933c769b34be5b9
2018-02-17 15:43:25 +08:00
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DDISABLE_PKGCONFIG=1
2018-02-17 15:43:25 +08:00
)
vcpkg_cmake_install()
2018-02-17 15:43:25 +08:00
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Matroska)
2018-02-17 15:43:25 +08:00
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
2018-02-17 15:43:25 +08:00
# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE.LGPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_copy_pdbs()