diff -Naur a/cmake/FindFFmpeg.cmake b/cmake/FindFFmpeg.cmake
--- a/cmake/FindFFmpeg.cmake	2024-11-22 13:31:25.000000000 +0600
+++ b/cmake/FindFFmpeg.cmake	2024-12-26 18:07:25.822311829 +0600
@@ -255,7 +255,7 @@
 
     # The pkgconfig directory is always in lib/pkgconfig/, even on Windows
     # where libs and dlls are in bin/
-    set(PC_FILE ${${_component}_LIBRARY_DIR}/../lib/pkgconfig/lib${lib}.pc)
+    set(PC_FILE ${${_component}_LIBRARY_DIR}/pkgconfig/lib${lib}.pc)
 
     if(EXISTS ${PC_FILE})
         file(READ ${PC_FILE} pcfile)
