vcpkg/ports/effolkronium-random/portfile.cmake
chausner a51ecd8e48
[effolkronium-random] Update to 1.4.0 (#20496)
* Update effolkronium-random to 1.4.0

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-10-04 17:13:49 -07:00

20 lines
617 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO effolkronium/random
REF v1.4.0
SHA512 B3DDEC048BBFB48877FD12295D4E0492E25976E1C4FE66F13E9E6E611DAAF654BD8D4AE75EA75125CB5AB420B82472C1CC1AB0BED3AEF632911B0934B45B23AF
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DRandom_BuildTests=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL "${SOURCE_PATH}/LICENSE.MIT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)