• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# - Try to find eigen2 headers
2# Once done this will define
3#
4#  BLAZE_FOUND - system has blaze lib
5#  BLAZE_INCLUDE_DIR - the blaze include directory
6#
7# Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
8# Adapted from FindEigen.cmake:
9# Copyright (c) 2006, 2007 Montel Laurent, <montel@kde.org>
10# Redistribution and use is allowed according to the terms of the BSD license.
11# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
12
13if (BLAZE_INCLUDE_DIR)
14
15  # in cache already
16  set(BLAZE_FOUND TRUE)
17
18else (BLAZE_INCLUDE_DIR)
19
20find_path(BLAZE_INCLUDE_DIR NAMES blaze/Blaze.h
21     PATHS
22     ${INCLUDE_INSTALL_DIR}
23   )
24
25include(FindPackageHandleStandardArgs)
26find_package_handle_standard_args(BLAZE DEFAULT_MSG BLAZE_INCLUDE_DIR)
27
28mark_as_advanced(BLAZE_INCLUDE_DIR)
29
30endif(BLAZE_INCLUDE_DIR)
31
32