From 16cb277721008ebc32575edfa682b7e0e0c81d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20=C5=81ukawski?= Date: Sun, 28 Jul 2024 00:12:44 +0200 Subject: [PATCH] Set maximum CMake version --- CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 70d242f4..8c0bda2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,14 +1,9 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.16..3.28) # 'C' required by prograns/voxelOccupancyDetection in Ubuntu 24.04 # see https://github.com/roboticslab-uc3m/vision/issues/106 project(ROBOTICSLAB_VISION LANGUAGES C CXX) -# Set CMake policies. -if(POLICY CMP0127) - cmake_policy(SET CMP0127 NEW) -endif() - # Let the user specify a configuration (only single-config generators). if(NOT CMAKE_CONFIGURATION_TYPES) # Possible values.