mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 19:17:17 +08:00
400957f829
* [mstch] add new port * [mstch] update sha512 code * [mstch] don't build in some window environment * [mstch] remove some args which were no longer needed * [mstch] Patch out forcing build type * [mstch] Restore C++11 on non-Windows * [ci.baseline.txt] Mark mstch as passing on x64-windows-static Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
26 lines
749 B
CMake
26 lines
749 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO no1msd/mstch
|
|
REF ff459067bd02e80dc399006bb610238223d41c50 #1.0.2
|
|
SHA512 b01f4c3e39a40fc9a6accc81ecbfac4b8a9ce1c2ec3df441a16039f4bf126dfeef83f87d3a5e9ec03dc133a1c5f54f5bc931479915e8a92bbfc8ebbc87c8e4dd
|
|
HEAD_REF master
|
|
PATCHES do-not-force-release.patch
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/mstch)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|