cmake: Remove unnecessary find_package calls
Fixes a bug in cmake that would cause a libavcodec_dir being set to "not found", confusing new contributors
This commit is contained in:
@@ -19,12 +19,6 @@ else()
|
||||
set(_bin_suffix 32)
|
||||
endif()
|
||||
|
||||
find_package(Libavcodec QUIET)
|
||||
find_package(Libx264 QUIET)
|
||||
find_package(Libfdk QUIET)
|
||||
find_package(ssl QUIET)
|
||||
find_package(Qt5Core QUIET)
|
||||
|
||||
file(GLOB FFMPEG_BIN_FILES
|
||||
"${FFMPEG_avcodec_INCLUDE_DIR}/../bin/avcodec-*.dll"
|
||||
"${FFMPEG_avcodec_INCLUDE_DIR}/../bin${_bin_suffix}/avcodec-*.dll"
|
||||
|
Reference in New Issue
Block a user