[PATCH] D56137: [pstl] Fix CMake when PARALLEL_POLICIES is disabled
Jerry Crunchtime via Phabricator
reviews at reviews.llvm.org
Fri Dec 28 12:45:55 PST 2018
jerryct created this revision.
jerryct added reviewers: ldionne, jfb.
Herald added subscribers: libcxx-commits, mgorny.
Repository:
rPSTL pstl
https://reviews.llvm.org/D56137
Files:
CMakeLists.txt
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -47,7 +47,7 @@
endif()
endif()
else()
- target_add_definitions(ParallelSTL INTERFACE PSTL_USE_PARALLEL_POLICIES=0)
+ target_compile_definitions(ParallelSTL INTERFACE PSTL_USE_PARALLEL_POLICIES=0)
endif()
target_include_directories(ParallelSTL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56137.179656.patch
Type: text/x-patch
Size: 399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181228/bbfc7dc9/attachment.bin>
More information about the libcxx-commits
mailing list