Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TeachRaccooon committed Sep 9, 2024
1 parent aeb183f commit 3830e7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ project(RandLAPACK LANGUAGES CXX)
option(RequireCUDA "Require CUDA support" OFF)

if (RequireCUDA)
find_package(CUDA QUIET)
find_package(CUDA)
if (CUDA_FOUND)
message(STATUS "CUDA found! Enabling CUDA support.")
enable_language(CUDA)
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (GTest_FOUND)
gtest_discover_tests(RandLAPACK_tests)

# Check if CUDA is required and setup CUDA-specific tests
if (RequireCUDA)
if (RequireCUDA AND CUDA_FOUND)
set(RandLAPACK_test_cu_srcs
comps/test_util_gpu.cu
drivers/test_cqrrpt_gpu.cu
Expand Down

0 comments on commit 3830e7c

Please sign in to comment.