vcpkg/ports/safeint/portfile.cmake

14 lines
520 B
CMake
Raw Normal View History

include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO dcleblanc/SafeInt
REF 4fe8294d73b7b442413ce85f3fe4e69ef6a9e6e2 # 3.23
SHA512 9f50bb92b9c4733739889b16065bcaadaec72526ed645daefde730503b21c939f521c6f7d6c77529b2129915ea49099f21cd84a9f3857a01a0a5252af2b5f687
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/SafeInt.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/safeint RENAME copyright)