Skip to content

Commit

Permalink
fix FindFFmpeg.cmake: locating avcodec not using pkgconfig variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicalTux authored and akallabeth committed Feb 28, 2020
1 parent dda5d4b commit bf94b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindFFmpeg.cmake
Expand Up @@ -19,7 +19,7 @@ endif(PKG_CONFIG_FOUND)

# avcodec
find_path(AVCODEC_INCLUDE_DIR libavcodec/avcodec.h PATHS ${AVCODEC_INCLUDE_DIRS})
find_library(AVCODEC_LIBRARY avcodec PATHS $ {AVCODEC_LIBRARY_DIRS})
find_library(AVCODEC_LIBRARY avcodec PATHS ${AVCODEC_LIBRARY_DIRS})

# avutil
find_path(AVUTIL_INCLUDE_DIR libavutil/avutil.h PATHS ${AVUTIL_INCLUDE_DIRS})
Expand Down

0 comments on commit bf94b03

Please sign in to comment.