瀏覽代碼

ENH: mark the two variables as advanced
-remove unnecessary deault search dirs

Alex

Alexander Neundorf 16 年之前
父節點
當前提交
9b8281eadc
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      Modules/FindAVIFile.cmake

+ 1 - 3
Modules/FindAVIFile.cmake

@@ -14,13 +14,10 @@ IF (UNIX)
   FIND_PATH(AVIFILE_INCLUDE_DIR avifile.h
     /usr/local/avifile/include
     /usr/local/include/avifile
-    /usr/include
   )
 
   FIND_LIBRARY(AVIFILE_AVIPLAY_LIBRARY aviplay
     /usr/local/avifile/lib
-    /usr/local/lib
-    /usr/lib
   )
 
 ENDIF (UNIX)
@@ -37,3 +34,4 @@ IF(AVIFILE_INCLUDE_DIR)
 ENDIF(AVIFILE_INCLUDE_DIR)
 
 
+MARK_AS_ADVANCED(AVIFILE_INCLUDE_DIR AVIFILE_AVIPLAY_LIBRARY)