summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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