Skip to content

Commit b06a163

Browse files
authored
fix cmake bug (#5929)
1 parent 249a7d1 commit b06a163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/FindMKL.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ endif()
8383
endif() # MKL::MKL
8484

8585
# For compatibility with legacy libpaw_interface CMakeLists.txt
86-
if(TARGET MKL::MKL)
86+
if(TARGET MKL::MKL AND NOT TARGET IntelMKL::MKL)
8787
add_library(IntelMKL::MKL ALIAS MKL::MKL)
8888
endif()
8989

0 commit comments

Comments
 (0)