1# @HEADER
2# ************************************************************************
3#
4#            Trilinos: An Object-Oriented Solver Framework
5#                 Copyright (2001) Sandia Corporation
6#
7#
8# Copyright (2001) Sandia Corporation. Under the terms of Contract
9# DE-AC04-94AL85000, there is a non-exclusive license for use of this
10# work by or on behalf of the U.S. Government.  Export of this program
11# may require a license from the United States Government.
12#
13# 1. Redistributions of source code must retain the above copyright
14# notice, this list of conditions and the following disclaimer.
15#
16# 2. Redistributions in binary form must reproduce the above copyright
17# notice, this list of conditions and the following disclaimer in the
18# documentation and/or other materials provided with the distribution.
19#
20# 3. Neither the name of the Corporation nor the names of the
21# contributors may be used to endorse or promote products derived from
22# this software without specific prior written permission.
23#
24# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
25# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
28# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
30# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
31# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
32# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
34# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35#
36# NOTICE:  The United States Government is granted for itself and others
37# acting on its behalf a paid-up, nonexclusive, irrevocable worldwide
38# license in this data to reproduce, prepare derivative works, and
39# perform publicly and display publicly.  Beginning five (5) years from
40# July 25, 2001, the United States Government is granted for itself and
41# others acting on its behalf a paid-up, nonexclusive, irrevocable
42# worldwide license in this data to reproduce, prepare derivative works,
43# distribute copies to the public, perform publicly and display
44# publicly, and to permit others to do so.
45#
46# NEITHER THE UNITED STATES GOVERNMENT, NOR THE UNITED STATES DEPARTMENT
47# OF ENERGY, NOR SANDIA CORPORATION, NOR ANY OF THEIR EMPLOYEES, MAKES
48# ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR
49# RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY
50# INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS
51# THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS.
52#
53# ************************************************************************
54# @HEADER
55
56
57# NOTE: ADOL-C has a bug in the installtion process.  It fails to
58# install the file "config.h" into the install directory.  This is
59# required to compile the library, so you must manually copy the file
60# over into the installation directory.
61
62TRIBITS_TPL_FIND_INCLUDE_DIRS_AND_LIBRARIES( ADOLC
63  REQUIRED_HEADERS adolc/adolc.h adolc/config.h
64  REQUIRED_LIBS_NAMES adolc
65  )
66