[libcxx-commits] [pstl] r357609 - [pstl] Require C++17 when linking against pstl
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 3 10:17:40 PDT 2019
Author: ldionne
Date: Wed Apr 3 10:17:40 2019
New Revision: 357609
URL: http://llvm.org/viewvc/llvm-project?rev=357609&view=rev
Log:
[pstl] Require C++17 when linking against pstl
Modified:
pstl/trunk/CMakeLists.txt
Modified: pstl/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/pstl/trunk/CMakeLists.txt?rev=357609&r1=357608&r2=357609&view=diff
==============================================================================
--- pstl/trunk/CMakeLists.txt (original)
+++ pstl/trunk/CMakeLists.txt Wed Apr 3 10:17:40 2019
@@ -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")
More information about the libcxx-commits
mailing list