diff --git a/test/fc_blas/src/CMakeLists.txt b/test/fc_blas/src/CMakeLists.txt index da3af3e..c311c0a 100644 --- a/test/fc_blas/src/CMakeLists.txt +++ b/test/fc_blas/src/CMakeLists.txt @@ -1,6 +1,6 @@ if(BLAS_FOUND) add_executable(example example.f90) - target_link_libraries(example blas) + target_link_libraries(example ${MATH_LIBS}) else() message(FATAL_ERROR "BLAS library not found for the test fc_blas!") endif()