| # 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/ebd50d0cfa3664d454ffdf246fcd228c3b370a11.tar.gz |
| URL_HASH SHA256=ca4fc774cf2339cb739bba827de8ed4ccbd450c4608e05329e974153448aaf56 |
| SOURCE_DIR "${CMAKE_BINARY_DIR}/pthreadpool-source" |
| BINARY_DIR "${CMAKE_BINARY_DIR}/pthreadpool" |
| CONFIGURE_COMMAND "" |
| BUILD_COMMAND "" |
| INSTALL_COMMAND "" |
| TEST_COMMAND "" |
| ) |