• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
9include(CMakeFindDependencyMacro)
10
11set(PSTL_PARALLEL_BACKEND "@PSTL_PARALLEL_BACKEND@")
12
13if (PSTL_PARALLEL_BACKEND STREQUAL "tbb")
14    find_dependency(TBB REQUIRED tbb)
15endif()
16
17if (NOT TARGET pstl::ParallelSTL)
18    include("${CMAKE_CURRENT_LIST_DIR}/ParallelSTLTargets.cmake")
19endif()
20