Skip to content

Commit 2e236fa

Browse files
committed
link fix
1 parent 971108a commit 2e236fa

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

gazebo/dave_gz_multibeam_sonar/multibeam_sonar/CMakeLists.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@ if(CUDAToolkit_FOUND)
7676
)
7777

7878
find_library(CUBLAS_LIB cublas
79-
HINTS ${CUDAToolkit_LIBRARY_DIR} /usr/local/cuda/lib64 /usr/lib/x86_64-linux-gnu /usr/lib)
79+
HINTS
80+
${CUDAToolkit_LIBRARY_DIR}
81+
/usr/local/cuda/lib64
82+
/usr/lib/x86_64-linux-gnu
83+
/usr/lib
84+
)
8085
if(NOT CUBLAS_LIB)
8186
message(FATAL_ERROR "cuBLAS not found")
8287
endif()
@@ -111,7 +116,8 @@ if(CUDAToolkit_FOUND)
111116
)
112117

113118
else()
114-
message(STATUS "CUDA Toolkit not found or disabled: Skipping CUDA-specific targets")
119+
message(STATUS "CUDA Toolkit not found or disabled: "
120+
"Skipping CUDA-specific targets")
115121
endif()
116122

117123
ament_package()

0 commit comments

Comments
 (0)