-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathFindSparseBayes.cmake
35 lines (30 loc) · 1.29 KB
/
FindSparseBayes.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
##############################################################################
# @file FindSparseBayes.cmake
# @brief Find SparseBayes package from Vector Anomaly Limited.
#
# @sa http://www.vectoranomaly.com/downloads/downloads.htm
##############################################################################
#=============================================================================
# Copyright 2011-2012 University of Pennsylvania
# Copyright 2013-2016 Andreas Schuh <[email protected]>
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
include (FindPackageHandleStandardArgs)
find_path (
SparseBayes_DIR SparseBayes.m
DOC "The directory containing SparseBayes.m file of the SparseBayes package."
)
set (SparseBayes_INCLUDE_DIR "${SparseBayes_DIR}")
find_package_handle_standard_args (
SparseBayes
REQUIRED_ARGS
SparseBayes_INCLUDE_DIR
)