changeset 673:3d1faa34233f attach-custom-data

support for recent versions of CMake
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 30 May 2025 15:46:56 +0200 (2 weeks ago)
parents 9103d9a94376
children fc78f08ee019
files MySQL/CMakeLists.txt Odbc/CMakeLists.txt PostgreSQL/CMakeLists.txt SQLite/CMakeLists.txt
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 <http://www.gnu.org/licenses/>.
 
 
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8...4.0)
 project(OrthancMySQL)
 
 set(ORTHANC_PLUGIN_VERSION "mainline")
--- 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 <http://www.gnu.org/licenses/>.
 
 
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8...4.0)
 project(OrthancOdbc)
 
 set(ORTHANC_PLUGIN_VERSION "mainline")
--- 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 <http://www.gnu.org/licenses/>.
 
 
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8...4.0)
 project(OrthancPostgreSQL)
 
 set(ORTHANC_PLUGIN_VERSION "mainline")
--- 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 <http://www.gnu.org/licenses/>.
 
 
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8...4.0)
 project(OrthancSQLite)
 
 set(ORTHANC_PLUGIN_VERSION "mainline")