~ubuntu-branches/ubuntu/trusty/gnuradio/trusty-updates

« back to all changes in this revision

Viewing changes to .pc/0042-qtgui-More-search-options-for-qwt-libraries-specific.patch/cmake/Modules/FindQwt.cmake

  • Committer: Package Import Robot
  • Author(s): A. Maitland Bottoms
  • Date: 2012-03-16 20:30:18 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120316203018-o9cvujkbn563d8ou
Tags: 3.5.2.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# - try to find Qwt libraries and include files
2
 
# QWT_INCLUDE_DIR where to find qwt_plot.h, etc.
3
 
# QWT_LIBRARIES libraries to link against
4
 
# QWT_FOUND If false, do not try to use Qwt
5
 
 
6
 
find_path (QWT_INCLUDE_DIRS
7
 
        NAMES qwt_plot.h
8
 
        PATHS
9
 
        /usr/local/include/qwt-qt4
10
 
        /usr/local/include/qwt
11
 
        /usr/include/qwt-qt4
12
 
        /usr/include/qwt
13
 
)
14
 
 
15
 
find_library (QWT_LIBRARIES
16
 
        NAMES qwt-qt4 qwt
17
 
        PATHS /usr/local/lib /usr/lib
18
 
)
19
 
 
20
 
# handle the QUIETLY and REQUIRED arguments and set QWT_FOUND to TRUE if 
21
 
# all listed variables are TRUE
22
 
include ( FindPackageHandleStandardArgs )
23
 
find_package_handle_standard_args( Qwt DEFAULT_MSG QWT_LIBRARIES QWT_INCLUDE_DIRS )
24
 
MARK_AS_ADVANCED(QWT_LIBRARIES QWT_INCLUDE_DIRS)