Commit 9e3dd91d authored by Jan Möbius's avatar Jan Möbius

Fixed bug in blas finder if multiple libs were specified



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19960 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a98a8077
......@@ -449,8 +449,6 @@ else()
set(BLAS_FOUND FALSE)
endif()
if(NOT BLAS_FIND_QUIETLY)
if(BLAS_FOUND)
message(STATUS "A library with BLAS API found.")
......@@ -465,7 +463,8 @@ else()
# Extract path from libraries
if ( NOT BLAS_LIBRARY_DIR AND BLAS_LIBRARIES)
get_filename_component(BLAS_LIBRARY_DIR ${BLAS_LIBRARIES} DIRECTORY)
list (GET BLAS_LIBRARIES 1 FIRST_LIB)
get_filename_component(BLAS_LIBRARY_DIR ${FIRST_LIB} DIRECTORY)
endif()
# Add variables to cache
......
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