2018-12-20 01:45:32 +08:00
|
|
|
#===-- ParallelSTLConfig.cmake.in ----------------------------------------===##
|
|
|
|
#
|
2019-01-19 18:56:40 +08:00
|
|
|
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
# See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2018-12-20 01:45:32 +08:00
|
|
|
#
|
|
|
|
#===----------------------------------------------------------------------===##
|
|
|
|
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
|
|
|
|
set(PARALLELSTL_BACKEND "@PARALLELSTL_BACKEND@")
|
|
|
|
|
2019-04-10 02:35:56 +08:00
|
|
|
if (PARALLELSTL_BACKEND STREQUAL "tbb")
|
|
|
|
find_dependency(TBB REQUIRED tbb)
|
2018-12-20 01:45:32 +08:00
|
|
|
endif()
|
|
|
|
|
2019-04-10 02:35:56 +08:00
|
|
|
if (NOT TARGET pstl::ParallelSTL)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/ParallelSTLTargets.cmake")
|
|
|
|
endif()
|