projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e28ddd
)
[pstl] Require C++17 when linking against pstl
author
Louis Dionne
<ldionne@apple.com>
Wed, 3 Apr 2019 17:17:40 +0000
(17:17 +0000)
committer
Louis Dionne
<ldionne@apple.com>
Wed, 3 Apr 2019 17:17:40 +0000
(17:17 +0000)
llvm-svn: 357609
pstl/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/pstl/CMakeLists.txt
b/pstl/CMakeLists.txt
index
bbfac36
..
09094d4
100644
(file)
--- 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")