vcpkg/ports/cinatra/portfile.cmake

18 lines
561 B
CMake
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

set(VCPKG_BUILD_TYPE "release") # header-only port
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO qicosmos/cinatra
REF ${VERSION}
SHA512 1432a5d799736469c34faffec540c5908484e5581edaceb1f809fce619fb357b182f8a6a1e7f814d2ba81ae94d31bfda30923af61ee557449363ef7cc084a902
HEAD_REF master
)
# Install Cinatra’s headers
file(INSTALL
"${SOURCE_PATH}/include/cinatra"
"${SOURCE_PATH}/include/cinatra.hpp"
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")