Author: rinrab
Date: Thu Mar 19 21:17:15 2026
New Revision: 1932396

Log:
cmake: Bump minimum required version of CMake 3.12 -> 3.14; as it turns out the
FindSQLite3 module was available in 3.12.

* CMakeLists.txt
  (cmake_minimum_required): Change version number.
  (CMP0078): Drop pre-3.14 compat code becuase we no longer support these
   cmake versions.

Modified:
   subversion/trunk/CMakeLists.txt

Modified: subversion/trunk/CMakeLists.txt
==============================================================================
--- subversion/trunk/CMakeLists.txt     Thu Mar 19 21:06:44 2026        
(r1932395)
+++ subversion/trunk/CMakeLists.txt     Thu Mar 19 21:17:15 2026        
(r1932396)
@@ -39,7 +39,7 @@ function(read_version path var major min
   endif()
 endfunction()
 
-cmake_minimum_required(VERSION 3.12)
+cmake_minimum_required(VERSION 3.14)
 
 # CMP0092: MSVC warning flags are not in CMAKE_<LANG>_FLAGS by default.
 if(POLICY CMP0092)
@@ -49,9 +49,6 @@ endif()
 # CMP0078: UseSWIG generates standard target names.
 if(POLICY CMP0078)
   cmake_policy(SET CMP0078 NEW)
-else()
-  # Otherwise, setup this behavior manually.
-  set(UseSWIG_TARGET_NAME_PREFERENCE STANDARD)
 endif()
 
 # CMP0086: UseSWIG honors SWIG_MODULE_NAME via -module flag.

Reply via email to