1
# Module to find the musicbrainz-3 library
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
8
# Copyright (c) 2006,2007 Laurent Montel, <montel@kde.org>
10
# Redistribution and use is allowed according to the terms of the BSD license.
11
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
13
if(MUSICBRAINZ3_INCLUDE_DIR AND MUSICBRAINZ3_LIBRARIES)
14
set(MUSICBRAINZ3_FIND_QUIETLY TRUE)
15
endif(MUSICBRAINZ3_INCLUDE_DIR AND MUSICBRAINZ3_LIBRARIES)
17
FIND_PATH(MUSICBRAINZ3_INCLUDE_DIR musicbrainz3/musicbrainz.h)
19
FIND_LIBRARY( MUSICBRAINZ3_LIBRARIES NAMES musicbrainz3)
21
include(FindPackageHandleStandardArgs)
22
find_package_handle_standard_args( MusicBrainz3 DEFAULT_MSG
23
MUSICBRAINZ3_INCLUDE_DIR MUSICBRAINZ3_LIBRARIES)
25
MARK_AS_ADVANCED(MUSICBRAINZ3_INCLUDE_DIR MUSICBRAINZ3_LIBRARIES)