~ubuntu-branches/ubuntu/natty/kdemultimedia/natty-proposed

« back to all changes in this revision

Viewing changes to cmake/modules/FindMusicBrainz3.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Debian Qt/KDE Maintainers
  • Date: 2011-05-26 02:41:36 UTC
  • mfrom: (0.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 108.
  • Revision ID: james.westby@ubuntu.com-20110526024136-jjwsigfy402jhupm
Tags: upstream-4.6.3
ImportĀ upstreamĀ versionĀ 4.6.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Module to find the musicbrainz-3 library
 
2
#
 
3
# It defines
 
4
#  MUSICBRAINZ3_INCLUDE_DIR - the include dir 
 
5
#  MUSICBRAINZ3_LIBRARIES - the required libraries
 
6
#  MUSICBRAINZ3_FOUND - true if both of the above have been found
 
7
 
 
8
# Copyright (c) 2006,2007 Laurent Montel, <montel@kde.org>
 
9
#
 
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
 
 
13
if(MUSICBRAINZ3_INCLUDE_DIR AND MUSICBRAINZ3_LIBRARIES)
 
14
   set(MUSICBRAINZ3_FIND_QUIETLY TRUE)
 
15
endif(MUSICBRAINZ3_INCLUDE_DIR AND MUSICBRAINZ3_LIBRARIES)
 
16
 
 
17
FIND_PATH(MUSICBRAINZ3_INCLUDE_DIR musicbrainz3/musicbrainz.h)
 
18
 
 
19
FIND_LIBRARY( MUSICBRAINZ3_LIBRARIES NAMES musicbrainz3)
 
20
 
 
21
include(FindPackageHandleStandardArgs)
 
22
find_package_handle_standard_args( MusicBrainz3 DEFAULT_MSG
 
23
                                   MUSICBRAINZ3_INCLUDE_DIR MUSICBRAINZ3_LIBRARIES)
 
24
 
 
25
MARK_AS_ADVANCED(MUSICBRAINZ3_INCLUDE_DIR MUSICBRAINZ3_LIBRARIES)
 
26