--- CMakeLists.txt.orig	2026-01-25 20:50:49.905592647 -0500
+++ CMakeLists.txt	2026-01-25 20:50:49.908925942 -0500
@@ -1,4 +1,7 @@
-cmake_minimum_required(VERSION 3.4)
+cmake_minimum_required(VERSION 3.5)
+if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.27")
+    cmake_policy(SET CMP0148 OLD)
+endif()
 
 project(olm VERSION 3.2.16 LANGUAGES CXX C)
 
