From 762e662582dd9258626ee922b2852b5e44701004 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne@apple.com>
Date: Wed, 7 Aug 2019 20:29:04 +0000
Subject: [PATCH] [pstl] Make sure we install all of PSTL's include/ directory

We want to install files directly in include/, not only in include/pstl.

llvm-svn: 368203
---
 pstl/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pstl/CMakeLists.txt b/pstl/CMakeLists.txt
index 5fb7504ad525..24845dfe78e2 100644
--- a/pstl/CMakeLists.txt
+++ b/pstl/CMakeLists.txt
@@ -76,7 +76,7 @@ install(EXPORT ParallelSTLTargets
 install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ParallelSTLConfig.cmake"
               "${CMAKE_CURRENT_BINARY_DIR}/ParallelSTLConfigVersion.cmake"
         DESTINATION lib/cmake/ParallelSTL)
-install(DIRECTORY include/pstl
+install(DIRECTORY include/
         DESTINATION include)
 
 add_custom_target(install-pstl