File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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()
182182find_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)
You can’t perform that action at this time.
0 commit comments