Fix find ffmpeg cmake command
This commit is contained in:
1 parent
b832f7400f
commit
c4edbe6537
2 files changed
+1
-15
No files matched your search
+1
-1
@@ -55,7 +55,7 @@ SET_PACKAGE_PROPERTIES(OpenCV PROPERTIES URL "http://opencv.willowgarage.com" DE
|
||||
|
||||
OPTION( USE_FFMPEG "Add FFMPEG support" OFF )
|
||||
IF( USE_FFMPEG )
|
||||
FIND_PACKAGE( OpenCV )
|
||||
FIND_PACKAGE( FFmpeg )
|
||||
SET(USE_FFMPEG ${FFMPEG_FOUND})
|
||||
ENDIF()
|
||||
SET_PACKAGE_PROPERTIES(FFmpeg PROPERTIES URL "http://ffmpeg.org/" DESCRIPTION "Libav library support in PlaYUVerStream" TYPE OPTIONAL)
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
######################################################################################
|
||||
# Default Modules
|
||||
######################################################################################
|
||||
|
||||
ADD_MODULE( FilterComponentLuma "FilterComponent" )
|
||||
ADD_MODULE( FilterComponentChromaU "FilterComponent" )
|
||||
ADD_MODULE( FilterComponentChromaV "FilterComponent" )
|
||||
ADD_MODULE( FrameDifference "FrameDifference" )
|
||||
ADD_MODULE( MeasurePSNR "MeasurePSNR" )
|
||||
|
||||
IF( USE_OPENCV )
|
||||
ADD_MODULE( DisparityStereoVar "DisparityStereoVar" )
|
||||
ENDIF()
|
||||
|
||||
Reference in new issue
Block a user