~uhh-ssd/+junk/humidity_readout

« back to all changes in this revision

Viewing changes to plplot/plplot-5.9.9/cmake/modules/agg.cmake

  • Committer: Joachim Erfle
  • Date: 2013-07-24 13:53:41 UTC
  • Revision ID: joachim.erfle@desy.de-20130724135341-1qojpp701zsn009p
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# cmake/modules/agg.cmake
 
2
#
 
3
# Copyright (C) 2006  Werner Smekal
 
4
#
 
5
# This file is part of PLplot.
 
6
#
 
7
# PLplot is free software; you can redistribute it and/or modify
 
8
# it under the terms of the GNU Library General Public License as published
 
9
# by the Free Software Foundation; version 2 of the License.
 
10
#
 
11
# PLplot is distributed in the hope that it will be useful,
 
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
# GNU Library General Public License for more details.
 
15
#
 
16
# You should have received a copy of the GNU Library General Public License
 
17
# along with the file PLplot; if not, write to the Free Software
 
18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 
19
#
 
20
# Configuration for AGG support in plplot.
 
21
 
 
22
option(
 
23
HAVE_AGG
 
24
"Enable driver options for using AGG library for antializing"
 
25
ON
 
26
)
 
27
 
 
28
# Look for agg libraries
 
29
if (HAVE_AGG)
 
30
  find_package(AGG)
 
31
  if(NOT AGG_FOUND)
 
32
    message(STATUS 
 
33
    "WARNING: AGG not found.  Setting HAVE_AGG to OFF."
 
34
    )
 
35
    set(HAVE_AGG OFF
 
36
    CACHE BOOL "Enable driver options for using AGG library for antializing"
 
37
    FORCE
 
38
    )
 
39
  endif(NOT AGG_FOUND)
 
40
endif (HAVE_AGG)