Mercurial > hg > CbC > CbC_llvm
comparison pstl/cmake/ParallelSTLConfig.cmake.in @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
1 #===-- ParallelSTLConfig.cmake.in ----------------------------------------===## | |
2 # | |
3 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
4 # See https://llvm.org/LICENSE.txt for license information. | |
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
6 # | |
7 #===----------------------------------------------------------------------===## | |
8 | |
9 include(CMakeFindDependencyMacro) | |
10 | |
11 set(PSTL_PARALLEL_BACKEND "@PSTL_PARALLEL_BACKEND@") | |
12 | |
13 if (PSTL_PARALLEL_BACKEND STREQUAL "tbb") | |
14 find_dependency(TBB REQUIRED tbb) | |
15 endif() | |
16 | |
17 if (NOT TARGET pstl::ParallelSTL) | |
18 include("${CMAKE_CURRENT_LIST_DIR}/ParallelSTLTargets.cmake") | |
19 endif() |