mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 12:47:59 +08:00
3fee81c152
* Updated bshoshany-thread-pool to v2.0.0 * Updated versions database
20 lines
623 B
CMake
20 lines
623 B
CMake
#header-only library
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO bshoshany/thread-pool
|
|
REF v2.0.0
|
|
SHA512 eac1674ea999d25d8d0b8f1b24714830330ba4d345e3f730e49359bae89d9259e429d48357a45f7b4355cbbe1a63f04e7fe2c4e0be08b3bbea51018c62721fcc
|
|
HEAD_REF master
|
|
)
|
|
|
|
# Install headers (header-only):
|
|
file(GLOB HEADER_FILES LIST_DIRECTORIES false "${SOURCE_PATH}/*.hpp")
|
|
file(INSTALL
|
|
"${HEADER_FILES}"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
|
|
|
|
)
|
|
|
|
# Handle copyright
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|