Skip to content

Commit

Permalink
Throw FATAL_ERROR when CUDA NPP libraries are not found for chosen st…
Browse files Browse the repository at this point in the history
…atic or shared build
  • Loading branch information
davconde committed Jun 5, 2024
1 parent 33ccc6a commit 7acb387
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 3rdparty/find_dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1848,6 +1848,9 @@ if (BUILD_CUDA_MODULE)
)
endif()
endif()
if(NOT 3rdparty_cuda_npp_FOUND)
message(FATAL_ERROR "CUDA NPP libraries not found.")
endif()
list(APPEND Open3D_3RDPARTY_PRIVATE_TARGETS_FROM_SYSTEM Open3D::3rdparty_cuda_npp)
endif ()

Expand Down

0 comments on commit 7acb387

Please sign in to comment.