mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
885 B
CMake
28 lines
885 B
CMake
# - Try to find mkl - the Intel Math Kernel Library
|
|
# Once done this will define
|
|
# MKL_FOUND - System has mkl
|
|
# MKL_INCLUDE_DIRS - The mkl include directories
|
|
# MKL_LIBRARIES - The libraries needed to use mkl
|
|
# MKL_DEFINITIONS - Compiler switches required for using mkl
|
|
|
|
find_path(MKL_INCLUDE_DIR
|
|
NAMES mkl.h
|
|
HINTS $ENV{MKL_DIR}/include
|
|
PATHS)
|
|
|
|
find_library(MKL_LIBRARY
|
|
NAMES mkl_rt
|
|
HINTS $ENV{MKL_DIR}/lib/intel64
|
|
PATHS)
|
|
|
|
set(MKL_LIBRARIES ${MKL_LIBRARY} )
|
|
set(MKL_INCLUDE_DIRS ${MKL_INCLUDE_DIR} )
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
# handle the QUIETLY and REQUIRED arguments and set MKL_FOUND to TRUE
|
|
# if all listed variables are TRUE
|
|
find_package_handle_standard_args(mkl DEFAULT_MSG
|
|
MKL_LIBRARY MKL_INCLUDE_DIR)
|
|
|
|
mark_as_advanced(MKL_INCLUDE_DIR MKL_LIBRARY )
|