# HG changeset patch # User Sebastien Jodogne # Date 1748612816 -7200 # Node ID 3d1faa34233fdc1bb1d5c322db8338fbcbe8a9a9 # Parent 9103d9a94376ac04d66099333fef9129702b2577 support for recent versions of CMake diff -r 9103d9a94376 -r 3d1faa34233f MySQL/CMakeLists.txt --- a/MySQL/CMakeLists.txt Fri May 30 12:28:27 2025 +0200 +++ b/MySQL/CMakeLists.txt Fri May 30 15:46:56 2025 +0200 @@ -19,7 +19,7 @@ # along with this program. If not, see . -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 2.8...4.0) project(OrthancMySQL) set(ORTHANC_PLUGIN_VERSION "mainline") diff -r 9103d9a94376 -r 3d1faa34233f Odbc/CMakeLists.txt --- a/Odbc/CMakeLists.txt Fri May 30 12:28:27 2025 +0200 +++ b/Odbc/CMakeLists.txt Fri May 30 15:46:56 2025 +0200 @@ -19,7 +19,7 @@ # along with this program. If not, see . -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 2.8...4.0) project(OrthancOdbc) set(ORTHANC_PLUGIN_VERSION "mainline") diff -r 9103d9a94376 -r 3d1faa34233f PostgreSQL/CMakeLists.txt --- a/PostgreSQL/CMakeLists.txt Fri May 30 12:28:27 2025 +0200 +++ b/PostgreSQL/CMakeLists.txt Fri May 30 15:46:56 2025 +0200 @@ -19,7 +19,7 @@ # along with this program. If not, see . -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 2.8...4.0) project(OrthancPostgreSQL) set(ORTHANC_PLUGIN_VERSION "mainline") diff -r 9103d9a94376 -r 3d1faa34233f SQLite/CMakeLists.txt --- a/SQLite/CMakeLists.txt Fri May 30 12:28:27 2025 +0200 +++ b/SQLite/CMakeLists.txt Fri May 30 15:46:56 2025 +0200 @@ -19,7 +19,7 @@ # along with this program. If not, see . -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 2.8...4.0) project(OrthancSQLite) set(ORTHANC_PLUGIN_VERSION "mainline")