summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-04-03 17:17:40 +0000
committerLouis Dionne <ldionne@apple.com>2019-04-03 17:17:40 +0000
commit540e18ded758f4f659d7af1b61d4c5f75111bf8e (patch)
treefbe3522d92c539f1c3ec69def74387a5bbe6cefe
parent9e28dddf555c686f23a0de5336e2602b58aab7d5 (diff)
downloadbcm5719-llvm-540e18ded758f4f659d7af1b61d4c5f75111bf8e.tar.gz
bcm5719-llvm-540e18ded758f4f659d7af1b61d4c5f75111bf8e.zip
[pstl] Require C++17 when linking against pstl
llvm-svn: 357609
-rw-r--r--pstl/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/pstl/CMakeLists.txt b/pstl/CMakeLists.txt
index bbfac3641f0..09094d4cc3a 100644
--- a/pstl/CMakeLists.txt
+++ b/pstl/CMakeLists.txt
@@ -29,6 +29,7 @@ endif()
add_library(ParallelSTL INTERFACE)
add_library(pstl::ParallelSTL ALIAS ParallelSTL)
+target_compile_features(ParallelSTL INTERFACE cxx_std_17)
if (PARALLELSTL_USE_PARALLEL_POLICIES)
message(STATUS "Using Parallel Policies")
OpenPOWER on IntegriCloud