mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
add intel mkl search path (#2428)
This commit is contained in:
parent
e0a5725f22
commit
4506979609
@ -316,9 +316,12 @@ elseif(WIN32 AND NOT MINGW)
|
||||
"C:/Program Files/Intel/Composer XE/mkl/lib/intel64"
|
||||
"C:/Program Files/Intel/Composer XE/tbb/lib/intel64/vc14"
|
||||
"C:/Program Files/Intel/Composer XE/compiler/lib/intel64"
|
||||
"C:/Program Files (x86)/Intel/oneAPI/mkl/*/lib/intel64"
|
||||
"C:/Program Files (x86)/Intel/oneAPI/compiler/*/windows/compiler/lib/intel64_win"
|
||||
)
|
||||
set (mkl_redist_path
|
||||
"C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/redist/intel64/compiler"
|
||||
"C:/Program Files (x86)/Intel/oneAPI/compiler/*/windows/redist/intel64_win/compiler"
|
||||
)
|
||||
find_library(mkl_intel mkl_intel_lp64 ${mkl_search_path})
|
||||
else()
|
||||
@ -336,9 +339,13 @@ elseif(WIN32 AND NOT MINGW)
|
||||
"C:/Program Files/Intel/Composer XE/mkl/lib/ia32"
|
||||
"C:/Program Files/Intel/Composer XE/tbb/lib/ia32/vc14"
|
||||
"C:/Program Files/Intel/Composer XE/compiler/lib/ia32"
|
||||
"C:/Program Files (x86)/Intel/oneAPI/mkl/*/lib/ia32"
|
||||
"C:/Program Files (x86)/Intel/oneAPI/compiler/*/windows/compiler/lib/ia32_win"
|
||||
|
||||
)
|
||||
set (mkl_redist_path
|
||||
"C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/redist/ia32/compiler"
|
||||
"C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/redist/ia32/compiler"
|
||||
"C:/Program Files (x86)/Intel/oneAPI/compiler/*/windows/redist/ia32_win/compiler"
|
||||
)
|
||||
find_library(mkl_intel mkl_intel_c ${mkl_search_path})
|
||||
endif()
|
||||
@ -354,6 +361,7 @@ elseif(WIN32 AND NOT MINGW)
|
||||
"C:/Program Files (x86)/Intel/Composer XE/compiler/include"
|
||||
"C:/Program Files/Intel/Composer XE/mkl/include"
|
||||
"C:/Program Files/Intel/Composer XE/compiler/include"
|
||||
"C:/Program Files (x86)/Intel/oneAPI/mkl/*/include"
|
||||
)
|
||||
find_path(mkl_include_dir mkl_version.h ${mkl_include_search_path})
|
||||
mark_as_advanced(mkl_include_dir)
|
||||
|
Loading…
Reference in New Issue
Block a user