[libcxx-commits] [pstl] ef14e52 - [pstl] Do not install the __config_site.in file

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 8 11:52:09 PDT 2020


Author: Louis Dionne
Date: 2020-07-08T14:52:03-04:00
New Revision: ef14e52be4e1ce4a6aa2a28738aed2cfcc0a31f1

URL: https://github.com/llvm/llvm-project/commit/ef14e52be4e1ce4a6aa2a28738aed2cfcc0a31f1
DIFF: https://github.com/llvm/llvm-project/commit/ef14e52be4e1ce4a6aa2a28738aed2cfcc0a31f1.diff

LOG: [pstl] Do not install the __config_site.in file

The generated version of the file is already installed -- we shouldn't
install the pre-generation version of the file.

Added: 
    

Modified: 
    pstl/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/pstl/CMakeLists.txt b/pstl/CMakeLists.txt
index dd601bc58a4f..8e6e1354707b 100644
--- a/pstl/CMakeLists.txt
+++ b/pstl/CMakeLists.txt
@@ -86,7 +86,8 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ParallelSTLConfig.cmake"
               "${CMAKE_CURRENT_BINARY_DIR}/ParallelSTLConfigVersion.cmake"
         DESTINATION lib/cmake/ParallelSTL)
 install(DIRECTORY include/
-        DESTINATION include)
+        DESTINATION include
+        PATTERN "*.in" EXCLUDE)
 install(FILES "${PSTL_CONFIG_SITE_PATH}"
         DESTINATION include)
 


        


More information about the libcxx-commits mailing list