1 #===-- ParallelSTLConfig.cmake.in ----------------------------------------===##
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
7 #===----------------------------------------------------------------------===##
9 include(CMakeFindDependencyMacro)
11 set(PSTL_PARALLEL_BACKEND "@PSTL_PARALLEL_BACKEND@")
13 if (PSTL_PARALLEL_BACKEND STREQUAL "tbb")
14 find_dependency(TBB REQUIRED tbb)
17 if (NOT TARGET pstl::ParallelSTL)
18 include("${CMAKE_CURRENT_LIST_DIR}/ParallelSTLTargets.cmake")