mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 00:41:38 +08:00
aee30bf55f
* Add port for DeveloperPaul123/thread-pool * Format vcpkg.json file * Update baseline versions * Update ports/devpaul123-thread-pool/portfile.cmake Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com> * Rename port to dp-thread-pool Updated commit hash (upstream project fixed some cmake issues for vcpkg support) * vcpkg x-add-version update * Fix packagename and config path * Use tagged version of library * Remove unused variable * Update to commit that doesn't blindly download CPM.cmake * Update portfile and version * Update versions --------- Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
29 lines
738 B
CMake
29 lines
738 B
CMake
set(VCPKG_BUILD_TYPE release)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO DeveloperPaul123/thread-pool
|
|
REF ${VERSION}
|
|
SHA512 fccd39616f7961fbd4ff6c2f845b4d1494e50a85e44d1799c30308bdee0b2e13f55011c5a535a555857a91157a7dddf4ec38e1020f693ae33bf0977d8fb97451
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DTP_BUILD_TESTS=OFF
|
|
-DTP_BUILD_EXAMPLES=OFF
|
|
-DTP_BUILD_BENCHMARKS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(
|
|
PACKAGE_NAME thread-pool
|
|
CONFIG_PATH lib/cmake/thread-pool-${VERSION}
|
|
)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|