vcpkg/ports/bshoshany-thread-pool/portfile.cmake
Barak Shoshany d53829ec75
[bshoshany-thread-pool] Updated to v4.0.1 (#35910)
* [bshoshany-thread-pool] Updated to v4.0.1

* [bshoshany-thread-pool] Updated to v4.0.1
2023-12-29 00:00:00 -08:00

14 lines
535 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO bshoshany/thread-pool
REF "v${VERSION}"
SHA512 37ebde68a9dc74204fc3df90a8f69cf17be241224eb2176d0841be0d412f8882ecf9abcc7eb61a19874b542988c22a88b4f7087efa86d0f435f996fa438eef5a
HEAD_REF master
)
file(GLOB HEADER_FILES LIST_DIRECTORIES false "${SOURCE_PATH}/include/*.hpp")
file(INSTALL ${HEADER_FILES} DESTINATION "${CURRENT_PACKAGES_DIR}/include")
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)