summaryrefslogtreecommitdiffstats
path: root/Modules/FindAVIFile.cmake
diff options
context:
space:
mode:
authorChristian Pfeiffer <cpfeiffer@live.de>2017-11-20 15:23:12 (GMT)
committerChristian Pfeiffer <cpfeiffer@live.de>2017-11-20 15:23:12 (GMT)
commit6720807d57f0aca43a2ad5e0c377e7bd82216284 (patch)
treec7f93d8939fb45cc8a581cb05b94f0cbf69a199f /Modules/FindAVIFile.cmake
parentf88ef9a9b853b4d85010d9281393b5e0fca058d7 (diff)
downloadCMake-6720807d57f0aca43a2ad5e0c377e7bd82216284.zip
CMake-6720807d57f0aca43a2ad5e0c377e7bd82216284.tar.gz
CMake-6720807d57f0aca43a2ad5e0c377e7bd82216284.tar.bz2
FindAVIFile: Replace PATHS with updated suffixes
Diffstat (limited to 'Modules/FindAVIFile.cmake')
-rw-r--r--Modules/FindAVIFile.cmake10
1 files changed, 2 insertions, 8 deletions
diff --git a/Modules/FindAVIFile.cmake b/Modules/FindAVIFile.cmake
index 88a2a25..2df29ca 100644
--- a/Modules/FindAVIFile.cmake
+++ b/Modules/FindAVIFile.cmake
@@ -21,14 +21,8 @@
if (UNIX)
- find_path(AVIFILE_INCLUDE_DIR avifile.h
- /usr/local/avifile/include
- /usr/local/include/avifile
- )
-
- find_library(AVIFILE_AVIPLAY_LIBRARY aviplay
- /usr/local/avifile/lib
- )
+ find_path(AVIFILE_INCLUDE_DIR avifile.h PATH_SUFFIXES avifile/include include/avifile include/avifile-0.7)
+ find_library(AVIFILE_AVIPLAY_LIBRARY aviplay aviplay-0.7 PATH_SUFFIXES avifile/lib)
endif ()