2 FIND_PATH(ID3_INCLUDE_DIR id3/tag.h /usr/include /usr/local/include)
3 FIND_LIBRARY(ID3_LIBRARY NAMES id3 PATH /usr/lib /usr/local/lib)
5 IF (ID3_INCLUDE_DIR AND ID3_LIBRARY)
7 ENDIF (ID3_INCLUDE_DIR AND ID3_LIBRARY)
10 IF (NOT id3_FIND_QUIETLY)
11 MESSAGE(STATUS "Found id3: ${ID3_INCLUDE_DIR}/id3/tag.h ${ID3_LIBRARY}")
12 ENDIF (NOT id3_FIND_QUIETLY)
14 IF (id3_FIND_REQUIRED)
15 MESSAGE(FATAL_ERROR "Could not find id3")
16 ENDIF (id3_FIND_REQUIRED)