Skip to content

Commit

Permalink
gemmt: oneAPI Linux needs MPI::MPI_Fortran as well
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Mar 28, 2024
1 parent bc055e2 commit 47ba5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/gemmt.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(CheckSourceCompiles)

if(TARGET MKL::MKL)
set(CMAKE_REQUIRED_LIBRARIES MKL::MKL)
set(CMAKE_REQUIRED_LIBRARIES MKL::MKL MPI::MPI_Fortran)
else()
set(CMAKE_REQUIRED_LIBRARIES LAPACK::LAPACK)
endif()
Expand Down

0 comments on commit 47ba5ef

Please sign in to comment.