mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 07:19:08 +08:00
c2eb7363d7
* [function2] update to 4.2.3 * fix deps
24 lines
696 B
CMake
24 lines
696 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Naios/function2
|
|
REF "${VERSION}"
|
|
SHA512 8e1a6f40f9bba647ec475845957287cc97aee67287ba1bd13dac453d25c76755bcc032e0439a953911cc2580aef5eefd77022b17ce6038eac90bc638655bb805
|
|
HEAD_REF master
|
|
PATCHES
|
|
disable-testing.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
|
|
|
file(REMOVE "${CURRENT_PACKAGES_DIR}/LICENSE.txt" "${CURRENT_PACKAGES_DIR}/Readme.md")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|