summaryrefslogtreecommitdiff
path: root/pstl/ParallelSTLConfig.cmake.in
blob: 3e6b6c4a61c006913a4eaf1b07a615507308ec21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#===-- ParallelSTLConfig.cmake.in ----------------------------------------===##
#
#                     The LLVM Compiler Infrastructure
#
# This file is dual licensed under the MIT and the University of Illinois Open
# Source Licenses. See LICENSE.TXT for details.
#
#===----------------------------------------------------------------------===##

include(CMakeFindDependencyMacro)

set(PARALLELSTL_BACKEND "@PARALLELSTL_BACKEND@")

if(PARALLELSTL_BACKEND STREQUAL "tbb")
    find_dependency(TBB 2018 REQUIRED tbb)
endif()

include("${CMAKE_CURRENT_LIST_DIR}/ParallelSTLTargets.cmake")