150
|
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()
|