llvm-project/pstl/ParallelSTLConfig.cmake.in
JF Bastien e637637ae4 Initial PSTL commit
The initial commit of the Parallel STL upstream (under LLVM umbrella) based on
Parallel STL 20181204 open source release, which is available by
https://github.com/intel/parallelstl

Author: Mikhail Dvorskiy <mikhail.dvorskiy@intel.com>

Differential Revision: https://reviews.llvm.org/D55889

llvm-svn: 349653
2018-12-19 17:45:32 +00:00

19 lines
587 B
CMake

#===-- 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")