changeset 381:6ff4f1bd0861

enable cmake 4.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Apr 2025 17:02:47 +0200 (6 weeks ago)
parents c6928c98fef9
children 50cb2a69655f
files Applications/CMakeLists.txt ViewerPlugin/CMakeLists.txt
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/CMakeLists.txt	Mon Apr 07 16:51:57 2025 +0200
+++ b/Applications/CMakeLists.txt	Mon Apr 07 17:02:47 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(OrthancWSIApplications)
 
 include(${CMAKE_SOURCE_DIR}/../Resources/CMake/Version.cmake)
--- a/ViewerPlugin/CMakeLists.txt	Mon Apr 07 16:51:57 2025 +0200
+++ b/ViewerPlugin/CMakeLists.txt	Mon Apr 07 17:02:47 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(OrthancWSIPlugin)
 
 include(${CMAKE_SOURCE_DIR}/../Resources/CMake/Version.cmake)