mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
kodi: use -DFFMPEG_PATH
There's no need to pass the path to the build folder, use the path to the installation instead. From kodi's FindFFMPEG.cmake: WARNING: this option is for developers as it will _disable ffmpeg version checks_! Consider using FFMPEG_PATH instead, which _does_ check library versions Before: -- Found FFMPEG: <snip>/toolchain/armv8a-libreelec-linux-gnueabihf/sysroot/usr (found version "undef") After: -- Found FFMPEG: <snip>/toolchain/armv8a-libreelec-linux-gnueabihf/sysroot/usr/include (found version "4.0")
This commit is contained in:
parent
14cf8f3842
commit
50e872d770
@ -213,9 +213,8 @@ configure_package() {
|
||||
-DPYTHON_EXECUTABLE=$TOOLCHAIN/bin/$PKG_PYTHON_VERSION \
|
||||
-DPYTHON_INCLUDE_DIRS=$SYSROOT_PREFIX/usr/include/$PKG_PYTHON_VERSION \
|
||||
-DGIT_VERSION=$PKG_VERSION \
|
||||
-DWITH_FFMPEG=$(get_build_dir ffmpeg) \
|
||||
-DFFMPEG_PATH=$SYSROOT_PREFIX/usr \
|
||||
-DENABLE_INTERNAL_FFMPEG=OFF \
|
||||
-DFFMPEG_INCLUDE_DIRS=$SYSROOT_PREFIX/usr \
|
||||
-DENABLE_INTERNAL_CROSSGUID=OFF \
|
||||
-DENABLE_UDEV=ON \
|
||||
-DENABLE_DBUS=ON \
|
||||
|
Loading…
x
Reference in New Issue
Block a user