[pstl] Require C++17 when linking against pstl

llvm-svn: 357609
This commit is contained in:
Louis Dionne 2019-04-03 17:17:40 +00:00
parent 9e28dddf55
commit 540e18ded7

View File

@ -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")