diff --git a/rapids-cmake/cpm/nvcomp.cmake b/rapids-cmake/cpm/nvcomp.cmake index d06457e7..4f8c669b 100644 --- a/rapids-cmake/cpm/nvcomp.cmake +++ b/rapids-cmake/cpm/nvcomp.cmake @@ -174,7 +174,8 @@ function(rapids_cpm_nvcomp) endif() # point our consumers to where they can find the pre-built version - rapids_export_find_package_root(BUILD nvcomp "${nvcomp_ROOT}" EXPORT_SET - ${_RAPIDS_BUILD_EXPORT_SET} CONDITION nvcomp_proprietary_binary) + rapids_export_find_package_root(BUILD nvcomp "${nvcomp_ROOT}" + EXPORT_SET ${_RAPIDS_BUILD_EXPORT_SET} + CONDITION nvcomp_proprietary_binary) endfunction() diff --git a/rapids-cmake/cpm/thrust.cmake b/rapids-cmake/cpm/thrust.cmake index 72e0a768..04d453b1 100644 --- a/rapids-cmake/cpm/thrust.cmake +++ b/rapids-cmake/cpm/thrust.cmake @@ -104,8 +104,8 @@ function(rapids_cpm_thrust NAMESPACE namespaces_name) # Store where CMake can find the Thrust-config.cmake that comes part of Thrust source code include("${rapids-cmake-dir}/export/find_package_root.cmake") include("${rapids-cmake-dir}/export/detail/post_find_package_code.cmake") - rapids_export_find_package_root(BUILD Thrust "${Thrust_SOURCE_DIR}/cmake" EXPORT_SET - ${_RAPIDS_BUILD_EXPORT_SET}) + rapids_export_find_package_root(BUILD Thrust "${Thrust_SOURCE_DIR}/cmake" + EXPORT_SET ${_RAPIDS_BUILD_EXPORT_SET}) rapids_export_post_find_package_code(BUILD Thrust "${post_find_code}" EXPORT_SET ${_RAPIDS_BUILD_EXPORT_SET}) diff --git a/rapids-cmake/export/find_package_file.cmake b/rapids-cmake/export/find_package_file.cmake index 7440416b..c4b93257 100644 --- a/rapids-cmake/export/find_package_file.cmake +++ b/rapids-cmake/export/find_package_file.cmake @@ -1,5 +1,5 @@ #============================================================================= -# Copyright (c) 2021, NVIDIA CORPORATION. +# Copyright (c) 2021-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -60,7 +60,7 @@ rapids-cmake to ensure it is installed correct and added to will cause the associated call to be ignored. #]=======================================================================] -function(rapids_export_find_package_file type file_path ) +function(rapids_export_find_package_file type file_path) list(APPEND CMAKE_MESSAGE_CONTEXT "rapids.export.find_package_file") include("${rapids-cmake-dir}/cmake/detail/policy.cmake") diff --git a/rapids-cmake/export/find_package_root.cmake b/rapids-cmake/export/find_package_root.cmake index 579ce561..138458f2 100644 --- a/rapids-cmake/export/find_package_root.cmake +++ b/rapids-cmake/export/find_package_root.cmake @@ -59,7 +59,7 @@ will find the packaged dependency. #]=======================================================================] function(rapids_export_find_package_root type name dir_path) list(APPEND CMAKE_MESSAGE_CONTEXT "rapids.export.find_package_root_dir") - include("${rapids-cmake-dir}/cmake/detail/policy.cmake") + include("${rapids-cmake-dir}/cmake/detail/policy.cmake") set(options "") diff --git a/testing/export/find_package_file-deprecated.cmake b/testing/export/find_package_file-deprecated.cmake index f4495a0f..88a1c410 100644 --- a/testing/export/find_package_file-deprecated.cmake +++ b/testing/export/find_package_file-deprecated.cmake @@ -1,3 +1,18 @@ +#============================================================================= +# Copyright (c) 2023, NVIDIA CORPORATION. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#============================================================================= include(${rapids-cmake-dir}/export/find_package_file.cmake) project(rapids-project LANGUAGES CUDA) diff --git a/testing/export/find_package_root-deprecated.cmake b/testing/export/find_package_root-deprecated.cmake index 5d1709cc..d6a19379 100644 --- a/testing/export/find_package_root-deprecated.cmake +++ b/testing/export/find_package_root-deprecated.cmake @@ -1,3 +1,18 @@ +#============================================================================= +# Copyright (c) 2023, NVIDIA CORPORATION. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#============================================================================= include(${rapids-cmake-dir}/export/find_package_root.cmake) project(rapids-project LANGUAGES CUDA)