mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 18:49:02 +08:00
72bb4a7148
* [lrc-tool] create a new port * [lrc-tool] fix portfile.cmake * [lrc-tool] fix format-manifest portfile.cmake * [lrc-tool] fix git-tree version * [liblrc] remove include copy * Update version database * [liblrc] not support osx * Update version database * [liblrc] Apply suggestions from code review Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * [liblrc] fix code review * Update version database * [liblrc] make CMakeLists.txt to patch * [liblrc] add unofficial * [liblrc] add unofficial namespace * [liblrc] Update version database Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: luncliff <luncliff@gmail.com>
19 lines
681 B
CMake
19 lines
681 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO ywh233/LRC-Tools
|
|
REF 1fc3872320cd449933bffefc6527928262ee0629
|
|
SHA512 5b0a52a557ffb28554b33e77efb3832944facfd4e039d8afe60c322d56872eb12cb93f3974d17f083c659dcddf9c63075d3b09ba6abd3adba7b40b2ffb615f1c
|
|
PATCHES
|
|
set_up_compile_error.patch
|
|
fix-cmake.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH})
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-liblrc)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|