1 # Locate AVIFILE library and include paths
3 # AVIFILE (http://avifile.sourceforge.net/ )is a set of library for i386 machines
4 # to use various AVI codecs. Support is limited beyond Linux. Windows
5 # provides native AVI support, and so doesn't need this library.
8 # AVIFILE_INCLUDE_DIR, where to find avifile.h , etc.
9 # AVIFILE_LIBRARIES, the libraries to link against to use AVIFILE
10 # AVIFILE_DEFINITIONS, definitions to use when compiling code that uses AVIFILE.
11 # AVIFILE_FOUND, If false, don't try to use AVIFILE.
15 FIND_PATH(AVIFILE_INCLUDE_DIR avifile.h
16 /usr/local/avifile/include
17 /usr/local/include/avifile
21 FIND_LIBRARY(AVIFILE_AVIPLAY_LIBRARY aviplay
22 /usr/local/avifile/lib
29 SET (AVIFILE_FOUND "NO")
31 IF(AVIFILE_INCLUDE_DIR)
32 IF(AVIFILE_AVIPLAY_LIBRARY)
33 SET( AVIFILE_LIBRARIES ${AVIFILE_AVIPLAY_LIBRARY} )
34 SET( AVIFILE_FOUND "YES" )
35 SET( AVIFILE_DEFINITIONS "")
37 ENDIF(AVIFILE_AVIPLAY_LIBRARY)
38 ENDIF(AVIFILE_INCLUDE_DIR)