mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 09:05:36 +08:00
d60e320788
* [semver] Add new port * [semver] semver.json git-tree update * [semver] vcpkg-cmake + vcpkg-cmake-config deps * [semver] semver.json git-tree update * [z4kn4fein-semver] Add new port * [z4kn4fein-semver] Add new port * [z4kn4fein-semver] remove semver
18 lines
544 B
CMake
18 lines
544 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO z4kn4fein/cpp-semver
|
|
REF v0.2.1
|
|
SHA512 1eac4bfc87d8719c3172a32897ff50063959faee0df747cb9b45a1bc32dd4f2a2e4f6ac5700e99854f9c06e7e70f3bfbc4a1bedbb99730fef06c0e587f4614ff
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DSEMVER_BUILD_TESTS=OFF
|
|
)
|
|
vcpkg_cmake_install()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|