Skip to content

Commit 6851cd6

Browse files
committed
Uniformize quotes
1 parent c238c48 commit 6851cd6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cmake/FindLAPACKE.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,17 @@ if(NOT _lapacke_bundled)
151151
find_library(LAPACKE_LIBRARY
152152
NAMES lapacke
153153
HINTS
154-
${LAPACKE_ROOT}
154+
"${LAPACKE_ROOT}"
155155
ENV LAPACKE_ROOT
156-
${LAPACK_ROOT}
156+
"${LAPACK_ROOT}"
157157
ENV LAPACK_ROOT
158158
PATH_SUFFIXES lib lib64 lib/x86_64-linux-gnu lib/aarch64-linux-gnu
159159
)
160160

161161
if(LAPACKE_LIBRARY)
162162
# Verify the symbols are really there (guards against empty stub libs).
163163
set(_saved_req_libs "${CMAKE_REQUIRED_LIBRARIES}")
164-
set(CMAKE_REQUIRED_LIBRARIES "${LAPACKE_LIBRARY}" ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES})
164+
set(CMAKE_REQUIRED_LIBRARIES "${LAPACKE_LIBRARY};${LAPACK_LIBRARIES};${BLAS_LIBRARIES}")
165165
check_function_exists(LAPACKE_dgetrf _lapacke_standalone_check)
166166
set(CMAKE_REQUIRED_LIBRARIES "${_saved_req_libs}")
167167

@@ -182,9 +182,9 @@ endif()
182182
find_path(LAPACKE_INCLUDE_DIR
183183
NAMES lapacke.h
184184
HINTS
185-
${LAPACKE_ROOT}
185+
"${LAPACKE_ROOT}"
186186
ENV LAPACKE_ROOT
187-
${LAPACK_ROOT}
187+
"${LAPACK_ROOT}"
188188
ENV LAPACK_ROOT
189189
PATH_SUFFIXES include include/openblas include/lapacke include/lapack
190190
)

0 commit comments

Comments
 (0)