Removed superfluous file.
[gromacs/rigid-bodies.git] / cmake / FindMKL.cmake
blob48ba365aae17868e1dd7357b8ad726f9b6164a5b
1 # - Find Intel MKL
2 # Find the Intel Math Kernel Library, version 6.0 or later
4 #  MKL_INCLUDE_DIR - where to find mkl_dfti.h
5 #  MKL_LIBRARIES   - List of libraries when using MKL
6 #  MKL_FOUND       - True if MKL was found
8 if (MKL_INCLUDE_DIR)
9   # Already in cache, be silent
10   set (MKL_FIND_QUIETLY TRUE)
11 endif (MKL_INCLUDE_DIR)
13 find_path (MKL_INCLUDE_DIR mkl_dfti.h)
14 find_library (MKL_LIBRARIES mkl_core)
16 # handle the QUIETLY and REQUIRED arguments and set MKL_FOUND to TRUE if
17 # all listed variables are TRUE
18 include (FindPackageHandleStandardArgs)
19 find_package_handle_standard_args (MKL DEFAULT_MSG MKL_LIBRARIES MKL_INCLUDE_DIR)
21 # MKL Libraries change name ALL the time, so the user will have to set these...
22 # mark_as_advanced (MKL_LIBRARIES MKL_INCLUDE_DIR)