Skip to content

Commit

Permalink
Correct style issues found by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Sep 5, 2024
1 parent ee3da48 commit 6d79e1f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions rapids-cmake/cpm/nvcomp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,8 @@ function(rapids_cpm_nvcomp)
# first search locally if `rapids_cmake_always_download` is false
if(NOT rapids_cmake_always_download)
include("${rapids-cmake-dir}/find/package.cmake")
rapids_find_package(nvcomp ${version}
GLOBAL_TARGETS nvcomp::nvcomp
${_RAPIDS_EXPORT_ARGUMENTS} FIND_ARGS QUIET)
rapids_find_package(nvcomp ${version} GLOBAL_TARGETS nvcomp::nvcomp ${_RAPIDS_EXPORT_ARGUMENTS}
FIND_ARGS QUIET)
if(nvcomp_FOUND)
# report where nvcomp was found
message(STATUS "Found nvcomp: ${nvcomp_DIR} (found version ${nvcomp_VERSION})")
Expand Down Expand Up @@ -202,8 +201,8 @@ function(rapids_cpm_nvcomp)
rapids_cpm_display_patch_status(nvcomp)

# provide consistent targets between a found nvcomp and one building from source
set(nvcomp_possible_target_names nvcomp nvcomp_cpu nvcomp_cpu_static
nvcomp_device_static nvcomp_static)
set(nvcomp_possible_target_names nvcomp nvcomp_cpu nvcomp_cpu_static nvcomp_device_static
nvcomp_static)
foreach(name IN LISTS nvcomp_possible_target_names)
if(NOT TARGET nvcomp::${name} AND TARGET ${name})
add_library(nvcomp::${name} ALIAS ${name})
Expand Down

0 comments on commit 6d79e1f

Please sign in to comment.