Skip to content

Commit

Permalink
fix cmake bug (#5929)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzzz2001 authored Feb 25, 2025
1 parent 249a7d1 commit b06a163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindMKL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ endif()
endif() # MKL::MKL

# For compatibility with legacy libpaw_interface CMakeLists.txt
if(TARGET MKL::MKL)
if(TARGET MKL::MKL AND NOT TARGET IntelMKL::MKL)
add_library(IntelMKL::MKL ALIAS MKL::MKL)
endif()

Expand Down

0 comments on commit b06a163

Please sign in to comment.