mirror of
https://github.com/opencv/opencv.git
synced 2025-07-25 14:47:07 +08:00
Updated OpenCVFindMKL.cmake
Current version of search for MLKROOT environment variable is wrong and should be corrected to (DEFINED ENV{MKLROOT})
This commit is contained in:
parent
3e2b05b096
commit
f743c82bdd
@ -48,7 +48,7 @@ endif()
|
||||
#check current MKL_ROOT_DIR
|
||||
if(NOT MKL_ROOT_DIR OR NOT EXISTS ${MKL_ROOT_DIR}/include/mkl.h)
|
||||
set(mkl_root_paths ${MKL_ROOT_DIR})
|
||||
if(DEFINED $ENV{MKLROOT})
|
||||
if(DEFINED ENV{MKLROOT})
|
||||
list(APPEND mkl_root_paths $ENV{MKLROOT})
|
||||
endif()
|
||||
if(WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user