vcpkg/ports/if97/portfile.cmake
chausner a6732623f5
[if97] Update to 2.1.3 (#29252)
* Update if97 to 2.1.3

* Update CI baseline

* Fix path

* Update CI baseline

---------

Co-authored-by: chausner <chausner@users.noreply.github.com>
2023-01-30 17:09:21 -08:00

13 lines
464 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO CoolProp/IF97
REF v2.1.3
SHA512 b29a74f134d69b72ba4bb825b25f0631f2fb335500da5d9016c4e6e417d8c93a5b309e95770eb6a7b723948dd82a7b46d873a1fe4e3f3047a881603442d73eff
HEAD_REF master
)
file(INSTALL "${SOURCE_PATH}/IF97.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)