diff '--color=auto' -upr vcmi-1.7.3.orig/CMakeLists.txt vcmi-1.7.3/CMakeLists.txt
--- vcmi-1.7.3.orig/CMakeLists.txt	2026-03-01 06:17:00.000000000 +0200
+++ vcmi-1.7.3/CMakeLists.txt	2026-05-14 11:45:17.645037917 +0300
@@ -23,6 +23,10 @@ endif()
 if(POLICY CMP0177)
   cmake_policy(SET CMP0177 NEW)
 endif()
+# fail if IMPORTED_LOCATION not set, rather than setting to foo-NOTFOUND
+if(POLICY CMP0111)
+  cmake_policy(SET CMP0111 NEW)
+endif()
 
 ############################################
 #        User-provided options             #
@@ -482,7 +486,7 @@ set(BOOST_COMPONENTS date_time filesyste
 if(ENABLE_INNOEXTRACT)
 	list(APPEND BOOST_COMPONENTS iostreams)
 endif()
-find_package(Boost 1.74.0 REQUIRED COMPONENTS ${BOOST_COMPONENTS})
+find_package(Boost 1.74.0 CONFIG REQUIRED COMPONENTS ${BOOST_COMPONENTS})
 if(Boost_MAJOR_VERSION EQUAL 1 AND Boost_MINOR_VERSION LESS 69)
 	list(APPEND BOOST_COMPONENTS system)
 	find_package(Boost 1.74.0 REQUIRED COMPONENTS ${BOOST_COMPONENTS})
Only in vcmi-1.7.3/lib: CMakeLists.txt
