mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
fix FindFFmpeg.cmake: locating avcodec not using pkgconfig variable
This commit is contained in:
committed by
akallabeth
parent
dda5d4b128
commit
bf94b03f24
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user