Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: Import CUDA toolkit targets when importing SPQR_CUDA. #372

Merged
merged 1 commit into from
Aug 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions SPQR/Config/SPQR_CUDAConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ set ( SPQR_CUDA_VERSION_MINOR @SPQR_VERSION_MINOR@ )
set ( SPQR_CUDA_VERSION_PATCH @SPQR_VERSION_SUB@ )
set ( SPQR_CUDA_VERSION "@SPQR_VERSION_MAJOR@.@SPQR_VERSION_MINOR@.@SPQR_VERSION_SUB@" )

# Look for NVIDIA CUDA toolkit
find_package ( CUDAToolkit @CUDAToolkit_VERSION_MAJOR@ REQUIRED )

include ( ${CMAKE_CURRENT_LIST_DIR}/SPQR_CUDATargets.cmake )

# The following is only for backward compatibility with FindSPQR_CUDA.
Expand Down