| # Copyright (c) Facebook, Inc. and its affiliates. |
| # All rights reserved. |
| # |
| # Copyright 2019 Google LLC |
| # |
| # This source code is licensed under the BSD-style license found in the |
| # LICENSE file in the root directory of this source tree. |
| |
| CMAKE_MINIMUM_REQUIRED(VERSION 3.5 FATAL_ERROR) |
| |
| PROJECT(pthreadpool-download NONE) |
| |
| INCLUDE(ExternalProject) |
| ExternalProject_Add(pthreadpool |
| URL https://github.com/Maratyszcza/pthreadpool/archive/029c88620802e1361ccf41d1970bd5b07fd6b7bb.zip |
| URL_HASH SHA256=03312bd7d8d9e379d685258963ee8820767158b5946cdd00336ff17dae851001 |
| SOURCE_DIR "${CMAKE_BINARY_DIR}/pthreadpool-source" |
| BINARY_DIR "${CMAKE_BINARY_DIR}/pthreadpool" |
| CONFIGURE_COMMAND "" |
| BUILD_COMMAND "" |
| INSTALL_COMMAND "" |
| TEST_COMMAND "" |
| ) |