2023-08-02 14:16:14 -04:00
|
|
|
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
|
2024-06-11 22:26:30 +02:00
|
|
|
-DTP_CXX_STANDARD=20
|
2023-08-02 14:16:14 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
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")
|