Commit 13c6b472 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Fix the tested libraries for lapackext and blasext

parent 18ccd97a
......@@ -33,6 +33,12 @@ foreach(_library ${PACKAGES})
set (_library ${_library_cpy})
if (${_library}_FOUND)
if ( ${_library} MATCHES "LAPACKEXT" )
set( _library LAPACK )
elseif( ${_library} MATCHES "BLASEXT" )
set( _library BLAS )
endif()
if (${_library}_PREFIX)
message(STATUS "${_library}_PREFIX ${${_library}_PREFIX}")
endif()
......@@ -90,7 +96,7 @@ foreach(_library ${PACKAGES})
message(STATUS "IMPORTED TARGET ${_library}::${_library} INTERFACE_LINK_LIBRARIES ${_LIBRARIES}")
message(STATUS "IMPORTED TARGET ${_library}::${_library} INTERFACE_COMPILE_OPTIONS ${_CFLAGS}")
message(STATUS "IMPORTED TARGET ${_library}::${_library} INTERFACE_LINK_OPTIONS ${_LDFLAGS}")
endif()
endif()
else()
message(FATAL_ERROR "${_library} NOT FOUND !!")
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment