Changed cmake file so that it can find the 64bit Intel MKL when

appropriate.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402866
This commit is contained in:
Davis King 2009-02-08 14:42:35 +00:00
parent 31a4736c76
commit 465d0763eb

View File

@ -17,11 +17,20 @@ SET(blas_found 0)
if (UNIX)
message(STATUS "Searching for a BLAS library")
message(STATUS "Searching for a BLAS library")
set( mkl_search_path
/opt/intel/mkl/*/lib/32
)
include(CheckTypeSize)
check_type_size( "void*" SIZE_OF_VOID_PTR)
if (SIZE_OF_VOID_PTR EQUAL 8)
set( mkl_search_path
/opt/intel/mkl/*/lib/em64t
)
else()
set( mkl_search_path
/opt/intel/mkl/*/lib/32
)
endif()
include(CheckLibraryExists)