supress warning

This commit is contained in:
conrad
2022-05-06 15:09:18 +10:00
parent 96b06db3f1
commit e40bbeef73
+8 -2
View File
@@ -24,9 +24,15 @@ else()
set(MKL_ARCH ia32)
endif()
set(MKL_ROOT $ENV{MKLROOT} CACHE TYPE STRING)
# set(MKL_ROOT $ENV{MKLROOT} CACHE TYPE STRING)
#
# if(NOT MKL_ROOT)
# set(MKL_ROOT "/opt/intel/mkl")
# endif()
if(NOT MKL_ROOT)
if(DEFINED ENV{MKLROOT})
set(MKL_ROOT $ENV{MKLROOT})
else()
set(MKL_ROOT "/opt/intel/mkl")
endif()