blob: c425f2e9cb5ef4af32b83fcc4a46d235d63d878f [file] [log] [blame]
Marat Dukhan2dbdc2f2019-10-08 16:36:23 -07001# Copyright (c) Facebook, Inc. and its affiliates.
2# All rights reserved.
3#
4# Copyright 2019 Google LLC
5#
6# This source code is licensed under the BSD-style license found in the
7# LICENSE file in the root directory of this source tree.
8
9CMAKE_MINIMUM_REQUIRED(VERSION 3.5 FATAL_ERROR)
10
11PROJECT(pthreadpool-download NONE)
12
13INCLUDE(ExternalProject)
14ExternalProject_Add(pthreadpool
Marat Dukhan6eaa1522020-12-05 20:37:39 -080015 URL https://github.com/Maratyszcza/pthreadpool/archive/545ebe9f225aec6dca49109516fac02e973a3de2.zip
16 URL_HASH SHA256=8461f6540ae9f777ce20d1c0d1d249e5e61c438744fb390c0c6f91940aa69ea3
Marat Dukhan2dbdc2f2019-10-08 16:36:23 -070017 SOURCE_DIR "${CMAKE_BINARY_DIR}/pthreadpool-source"
18 BINARY_DIR "${CMAKE_BINARY_DIR}/pthreadpool"
19 CONFIGURE_COMMAND ""
20 BUILD_COMMAND ""
21 INSTALL_COMMAND ""
22 TEST_COMMAND ""
23)