mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 06:19:00 +08:00
43c6e295a0
* [many ports]switch to vcpkg-cmake / vckg-cmake-config part 4 * version * typo * version * typo * version * Remove PREFER_NINJA * version * deprecated vcpkg_extract_source_archive_ex * version * fix argument * version * More rename * version --------- Co-authored-by: jyu49 <yu_jack@apple.com>
23 lines
645 B
CMake
23 lines
645 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO mpark/variant
|
|
REF v1.4.0
|
|
SHA512 598ef21824f9cd7586f88de5a51bfe24dde4c492e8e6b8288d2912920812c48fd01c54d9683e1620cb034563c4eac737a382620e6b4af473808a2e77017a89e3
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/mpark_variant PACKAGE_NAME mpark_variant)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
file(INSTALL
|
|
"${SOURCE_PATH}/LICENSE.md"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|