relax hardcoded linking in fc_blas; fixes #45

This commit is contained in:
Radovan Bast 2015-08-02 12:26:59 +02:00
parent 289c5529eb
commit 65ba506eb6

View File

@ -1,6 +1,6 @@
if(BLAS_FOUND) if(BLAS_FOUND)
add_executable(example example.f90) add_executable(example example.f90)
target_link_libraries(example blas) target_link_libraries(example ${MATH_LIBS})
else() else()
message(FATAL_ERROR "BLAS library not found for the test fc_blas!") message(FATAL_ERROR "BLAS library not found for the test fc_blas!")
endif() endif()