vcpkg/ports/safeint/portfile.cmake

12 lines
487 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO dcleblanc/SafeInt
REF 34a1b2191deb89eca9db4e5e1cfe5e72e70eb472 # 3.24
SHA512 c76a973a9f0fc7d464f63ca8e5946f357832cd9688894b8f93573da75b238b08fff06ecbac44a3dbf4f2c7c472b038b44b774823a6ec3359c06becd645c924a7
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/SafeInt.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)