[libcxx-commits] [pstl] r358018 - [pstl][NFC] Move the ParallelSTLConfig template to the cmake/ subdirectory

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 9 09:48:43 PDT 2019


Author: ldionne
Date: Tue Apr  9 09:48:43 2019
New Revision: 358018

URL: http://llvm.org/viewvc/llvm-project?rev=358018&view=rev
Log:
[pstl][NFC] Move the ParallelSTLConfig template to the cmake/ subdirectory

Added:
    pstl/trunk/cmake/ParallelSTLConfig.cmake.in
Removed:
    pstl/trunk/ParallelSTLConfig.cmake.in
Modified:
    pstl/trunk/CMakeLists.txt

Modified: pstl/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/pstl/trunk/CMakeLists.txt?rev=358018&r1=358017&r2=358018&view=diff
==============================================================================
--- pstl/trunk/CMakeLists.txt (original)
+++ pstl/trunk/CMakeLists.txt Tue Apr  9 09:48:43 2019
@@ -62,7 +62,7 @@ write_basic_package_version_file(
     COMPATIBILITY AnyNewerVersion)
 
 configure_file(
-    ParallelSTLConfig.cmake.in
+    cmake/ParallelSTLConfig.cmake.in
     ${CMAKE_CURRENT_BINARY_DIR}/ParallelSTLConfig.cmake
     @ONLY)
 

Removed: pstl/trunk/ParallelSTLConfig.cmake.in
URL: http://llvm.org/viewvc/llvm-project/pstl/trunk/ParallelSTLConfig.cmake.in?rev=358017&view=auto
==============================================================================
--- pstl/trunk/ParallelSTLConfig.cmake.in (original)
+++ pstl/trunk/ParallelSTLConfig.cmake.in (removed)
@@ -1,17 +0,0 @@
-#===-- ParallelSTLConfig.cmake.in ----------------------------------------===##
-#
-# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-# See https://llvm.org/LICENSE.txt for license information.
-# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-#
-#===----------------------------------------------------------------------===##
-
-include(CMakeFindDependencyMacro)
-
-set(PARALLELSTL_BACKEND "@PARALLELSTL_BACKEND@")
-
-if(PARALLELSTL_BACKEND STREQUAL "tbb")
-    find_dependency(TBB 2018 REQUIRED tbb)
-endif()
-
-include("${CMAKE_CURRENT_LIST_DIR}/ParallelSTLTargets.cmake")

Added: pstl/trunk/cmake/ParallelSTLConfig.cmake.in
URL: http://llvm.org/viewvc/llvm-project/pstl/trunk/cmake/ParallelSTLConfig.cmake.in?rev=358018&view=auto
==============================================================================
--- pstl/trunk/cmake/ParallelSTLConfig.cmake.in (added)
+++ pstl/trunk/cmake/ParallelSTLConfig.cmake.in Tue Apr  9 09:48:43 2019
@@ -0,0 +1,17 @@
+#===-- ParallelSTLConfig.cmake.in ----------------------------------------===##
+#
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+#
+#===----------------------------------------------------------------------===##
+
+include(CMakeFindDependencyMacro)
+
+set(PARALLELSTL_BACKEND "@PARALLELSTL_BACKEND@")
+
+if(PARALLELSTL_BACKEND STREQUAL "tbb")
+    find_dependency(TBB 2018 REQUIRED tbb)
+endif()
+
+include("${CMAKE_CURRENT_LIST_DIR}/ParallelSTLTargets.cmake")




More information about the libcxx-commits mailing list