mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
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:
parent
31a4736c76
commit
465d0763eb
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user