diff -bur MediaInfoLib-orig/Project/CMake/CMakeLists.txt MediaInfoLib/Project/CMake/CMakeLists.txt
--- MediaInfoLib-orig/Project/CMake/CMakeLists.txt	2024-03-02 21:53:06.539449200 -0700
+++ MediaInfoLib/Project/CMake/CMakeLists.txt	2024-03-02 21:53:29.923498500 -0700
@@ -355,7 +355,6 @@
   ${MediaInfoLib_SOURCES_PATH}/MediaInfo/ExternalCommandHelpers.cpp
   ${MediaInfoLib_SOURCES_PATH}/MediaInfoDLL/MediaInfoJNI.cpp
   ${MediaInfoLib_SOURCES_PATH}/MediaInfoDLL/MediaInfoDLL.cpp
-  ${MediaInfoLib_SOURCES_PATH}/MediaInfoDLL/MediaInfoDLL.def
   ${MediaInfoLib_SOURCES_PATH}/MediaInfoDLL/MediaInfoDLL.rc
 )
 
@@ -370,7 +369,7 @@
 endif()
 
 add_library(mediainfo ${MediaInfoLib_SRCS})
-target_include_directories(mediainfo INTERFACE ${INCLUDE_INSTALL_DIR})
+target_include_directories(mediainfo INTERFACE $<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>)
 
 if(BUILD_ZLIB)
   add_dependencies(mediainfo zlibstatic)
diff -bur MediaInfoLib-orig/Project/CMake/libmediainfo.pc.in MediaInfoLib/Project/CMake/libmediainfo.pc.in
--- MediaInfoLib-orig/Project/CMake/libmediainfo.pc.in	2024-03-02 21:53:06.539449200 -0700
+++ MediaInfoLib/Project/CMake/libmediainfo.pc.in	2024-03-02 21:54:30.165544600 -0700
@@ -1,7 +1,7 @@
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=${prefix}
-libdir=@LIB_INSTALL_DIR@
-includedir=@INCLUDE_INSTALL_DIR@
+libdir={prefix}/@LIB_INSTALL_DIR@
+includedir={prefix}/@INCLUDE_INSTALL_DIR@
 Libs_Static=${libdir}/libmediainfo.a ${libdir}/libzen.a -lpthread -lz@CURL_LIB@
 
 Name: libmediainfo
