blob: c4ccef80e929e4350cf409be67b0c2826585e592 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Option for build or not MusicBrainz
#
# Copyright (c) 2006, Laurent Montel, <montel@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
FIND_PATH(MUSICBRAINZ_INCLUDE_DIR musicbrainz/musicbrainz.h
/usr/include
/usr/local/include
)
if(MUSICBRAINZ_INCLUDE_DIR)
set(MUSICBRAINZ_FOUND TRUE)
MESSAGE( STATUS "music brainz found in <${MUSICBRAINZ_INCLUDE_DIR}>")
else(MUSICBRAINZ_INCLUDE_DIR)
MESSAGE( STATUS "music brainz not found")
endif(MUSICBRAINZ_INCLUDE_DIR)
MARK_AS_ADVANCED(MUSICBRAINZ_INCLUDE_DIR)
|