aboutsummaryrefslogtreecommitdiff
path: root/pstl/cmake
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-08-13 11:50:26 +0000
committerLouis Dionne <ldionne@apple.com>2019-08-13 11:50:26 +0000
commit5065e7817393d9acf2689d3f666a1c375238a7e2 (patch)
treef76d3a9aa5ae8982e692a52c7b69ec419ffc4615 /pstl/cmake
parent58f03f21286cc408f8bcf03fda1e197f9b6df0fc (diff)
downloadllvm-5065e7817393d9acf2689d3f666a1c375238a7e2.zip
llvm-5065e7817393d9acf2689d3f666a1c375238a7e2.tar.gz
llvm-5065e7817393d9acf2689d3f666a1c375238a7e2.tar.bz2
[pstl] Rename PARALLELSTL_BACKEND to PSTL_PARALLEL_BACKEND
It makes more sense to name configuration options as PSTL_XXX. Also, I'm naming it PSTL_PARALLEL_BACKEND because we might introduce the ability to customize the vectorization backend, in which case PSTL_BACKEND would become ambiguous. llvm-svn: 368672
Diffstat (limited to 'pstl/cmake')
-rw-r--r--pstl/cmake/ParallelSTLConfig.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pstl/cmake/ParallelSTLConfig.cmake.in b/pstl/cmake/ParallelSTLConfig.cmake.in
index 516c812..445ebaf 100644
--- a/pstl/cmake/ParallelSTLConfig.cmake.in
+++ b/pstl/cmake/ParallelSTLConfig.cmake.in
@@ -8,9 +8,9 @@
include(CMakeFindDependencyMacro)
-set(PARALLELSTL_BACKEND "@PARALLELSTL_BACKEND@")
+set(PSTL_PARALLEL_BACKEND "@PSTL_PARALLEL_BACKEND@")
-if (PARALLELSTL_BACKEND STREQUAL "tbb")
+if (PSTL_PARALLEL_BACKEND STREQUAL "tbb")
find_dependency(TBB REQUIRED tbb)
endif()