--- CMakeLists.txt.orig	2026-08-22 16:05:42 UTC
+++ CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.10)
+cmake_minimum_required(VERSION 3.10...9.99)
 
 # Default to a release build.
 if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
@@ -353,7 +353,7 @@ endif()
 configure_file(libdeflate.pc.in libdeflate.pc @ONLY)
 if(LIBDEFLATE_INSTALL)
     install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libdeflate.pc
-            DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+            DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig)
 endif()
 
 # Generate a "libdeflate-targets.cmake" file in the build tree that can be
