commit | 24658ce28e6eef8cc01f275f7959b883f71a0672 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne@apple.com> | Wed Apr 03 17:17:40 2019 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Sep 01 14:41:18 2020 -0700 |
tree | 5ad2c553c32bdd5176a8f8c9742d42b65034a92d | |
parent | f1200815de577d7f5094f91ee230a2845f5b616d [diff] |
[pstl] Require C++17 when linking against pstl llvm-svn: 357609 GitOrigin-RevId: 540e18ded758f4f659d7af1b61d4c5f75111bf8e
diff --git a/CMakeLists.txt b/CMakeLists.txt index bbfac36..09094d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -29,6 +29,7 @@ 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")