yuzu-early/externals/vcpkg/ports/refprop-headers/portfile.cmake
2022-07-23 03:01:36 +02:00

17 lines
524 B
CMake
Executable File

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO CoolProp/REFPROP-headers
REF 8df35c7cb557d385bb66431e92e836104a63a33c
SHA512 4424d036c3cd6c9028fffbeda0919d38f4b0a290fb141c6d1ff26c70cd416d9a0d2e1584c51b6ad2e989e84a8a71660f62dadaa88bb22428972165ba01131cb2
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/REFPROP_lib.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
file(
INSTALL ${SOURCE_PATH}/LICENSE
DESTINATION ${CURRENT_PACKAGES_DIR}/share/refprop-headers
RENAME copyright
)