vcpkg/ports/if97/portfile.cmake

13 lines
464 B
CMake
Raw Normal View History

vcpkg_from_github(
2017-11-11 07:34:48 +08:00
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)