Unverified Commit 69e54631 authored by Thien Nguyen's avatar Thien Nguyen Committed by GitHub
Browse files

Update CMakeLists.txt

MKL seems to work just fine with ITensor, thus removing the error in CMakeLists.
parent 086de9fc
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
set (LIBRARY_NAME tnqvm-itensor)

if (DEFINED ENV{MKLROOT})
  message(STATUS "MKLROOT is set. For ITensor we force use of ATLAS BLAS")
  unset(ENV{MKLROOT})
  set(BLA_VENDOR Generic)
endif()

find_package(BLAS REQUIRED)
find_package(LAPACK REQUIRED)