Diff of /config/cmake/Modules/NewCMake/FindAVIFile.cmake [28b7ea] .. [fc7596]  Maximize  Restore

Switch to side-by-side view

--- a/config/cmake/Modules/NewCMake/FindAVIFile.cmake
+++ b/config/cmake/Modules/NewCMake/FindAVIFile.cmake
@@ -5,16 +5,16 @@
 # provides native AVI support, and so doesn't need this library.
 
 # This module defines
-# AVIFILE_INCLUDE_DIR, where to find avifile.h , etc.
+# AVIFILE_INCLUDE_DIR, where to find avifile/avifile.h , etc.
 # AVIFILE_LIBRARIES, the libraries to link against to use AVIFILE
 # AVIFILE_DEFINITIONS, definitions to use when compiling code that uses AVIFILE.
 # AVIFILE_FOUND, If false, don't try to use AVIFILE.
 
 IF (UNIX)
 
-  FIND_PATH(AVIFILE_INCLUDE_DIR avifile.h
+  FIND_PATH(AVIFILE_INCLUDE_DIR avifile/avifile.h
     /usr/local/avifile/include
-    /usr/local/include/avifile
+    /usr/local/include
     /usr/include
   )
 
@@ -37,4 +37,3 @@
   ENDIF(AVIFILE_AVIPLAY_LIBRARY)
 ENDIF(AVIFILE_INCLUDE_DIR)
 
-

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks