From ecf2590e2e5e4460e0e4f5785ed8b361fe381285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferm=C3=ADn=20Gal=C3=A1n=20M=C3=A1rquez?= Date: Wed, 22 May 2024 10:24:23 +0200 Subject: [PATCH] FIX CMAKE_MINIMUM_REQUIRED --- src/lib/alarmMgr/CMakeLists.txt | 2 +- src/lib/apiTypesV2/CMakeLists.txt | 2 +- src/lib/cache/CMakeLists.txt | 2 +- src/lib/common/CMakeLists.txt | 2 +- src/lib/convenience/CMakeLists.txt | 2 +- src/lib/jsonParse/CMakeLists.txt | 2 +- src/lib/jsonParseV2/CMakeLists.txt | 2 +- src/lib/logMsg/CMakeLists.txt | 2 +- src/lib/logSummary/CMakeLists.txt | 2 +- src/lib/metricsMgr/CMakeLists.txt | 2 +- src/lib/mongoBackend/CMakeLists.txt | 2 +- src/lib/mongoDriver/CMakeLists.txt | 2 +- src/lib/mqtt/CMakeLists.txt | 2 +- src/lib/ngsi/CMakeLists.txt | 2 +- src/lib/ngsi10/CMakeLists.txt | 2 +- src/lib/ngsi9/CMakeLists.txt | 2 +- src/lib/ngsiNotify/CMakeLists.txt | 2 +- src/lib/orionTypes/CMakeLists.txt | 2 +- src/lib/parse/CMakeLists.txt | 2 +- src/lib/rest/CMakeLists.txt | 2 +- src/lib/serviceRoutines/CMakeLists.txt | 2 +- src/lib/serviceRoutinesV2/CMakeLists.txt | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/lib/alarmMgr/CMakeLists.txt b/src/lib/alarmMgr/CMakeLists.txt index b75130768b..edda27d5f8 100644 --- a/src/lib/alarmMgr/CMakeLists.txt +++ b/src/lib/alarmMgr/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES AlarmManager.cpp diff --git a/src/lib/apiTypesV2/CMakeLists.txt b/src/lib/apiTypesV2/CMakeLists.txt index 6981627be3..18be8b1975 100644 --- a/src/lib/apiTypesV2/CMakeLists.txt +++ b/src/lib/apiTypesV2/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES Entity.cpp diff --git a/src/lib/cache/CMakeLists.txt b/src/lib/cache/CMakeLists.txt index dc708c0ab9..86854d8801 100644 --- a/src/lib/cache/CMakeLists.txt +++ b/src/lib/cache/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES subCache.cpp diff --git a/src/lib/common/CMakeLists.txt b/src/lib/common/CMakeLists.txt index ba5cfb9242..07ba47566f 100644 --- a/src/lib/common/CMakeLists.txt +++ b/src/lib/common/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES globals.cpp diff --git a/src/lib/convenience/CMakeLists.txt b/src/lib/convenience/CMakeLists.txt index 65f74232f0..65760b1253 100644 --- a/src/lib/convenience/CMakeLists.txt +++ b/src/lib/convenience/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES AppendContextElementRequest.cpp diff --git a/src/lib/jsonParse/CMakeLists.txt b/src/lib/jsonParse/CMakeLists.txt index 3e2ea75a24..1ea8952bdc 100644 --- a/src/lib/jsonParse/CMakeLists.txt +++ b/src/lib/jsonParse/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES jsonRequest.cpp diff --git a/src/lib/jsonParseV2/CMakeLists.txt b/src/lib/jsonParseV2/CMakeLists.txt index 42d4a1d5a9..04842e9361 100644 --- a/src/lib/jsonParseV2/CMakeLists.txt +++ b/src/lib/jsonParseV2/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES jsonRequestTreat.cpp diff --git a/src/lib/logMsg/CMakeLists.txt b/src/lib/logMsg/CMakeLists.txt index 3567c3444c..c41a9f0ad4 100644 --- a/src/lib/logMsg/CMakeLists.txt +++ b/src/lib/logMsg/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (HEADERS logMsg.h diff --git a/src/lib/logSummary/CMakeLists.txt b/src/lib/logSummary/CMakeLists.txt index 6413d6cb29..f1ba9ee62e 100644 --- a/src/lib/logSummary/CMakeLists.txt +++ b/src/lib/logSummary/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES logSummary.cpp diff --git a/src/lib/metricsMgr/CMakeLists.txt b/src/lib/metricsMgr/CMakeLists.txt index 5ccc5ef47c..aa22c37e64 100644 --- a/src/lib/metricsMgr/CMakeLists.txt +++ b/src/lib/metricsMgr/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES MetricsManager.cpp diff --git a/src/lib/mongoBackend/CMakeLists.txt b/src/lib/mongoBackend/CMakeLists.txt index 62a5c03127..25960522f5 100644 --- a/src/lib/mongoBackend/CMakeLists.txt +++ b/src/lib/mongoBackend/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES MongoGlobal.cpp diff --git a/src/lib/mongoDriver/CMakeLists.txt b/src/lib/mongoDriver/CMakeLists.txt index 386740d790..e5153dd283 100644 --- a/src/lib/mongoDriver/CMakeLists.txt +++ b/src/lib/mongoDriver/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES BSONTypes.cpp diff --git a/src/lib/mqtt/CMakeLists.txt b/src/lib/mqtt/CMakeLists.txt index 2cb4ededc0..4782ba0648 100644 --- a/src/lib/mqtt/CMakeLists.txt +++ b/src/lib/mqtt/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES MqttConnectionManager.cpp diff --git a/src/lib/ngsi/CMakeLists.txt b/src/lib/ngsi/CMakeLists.txt index a8e50634af..52a4d8bcf2 100644 --- a/src/lib/ngsi/CMakeLists.txt +++ b/src/lib/ngsi/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES AttributeExpression.cpp diff --git a/src/lib/ngsi10/CMakeLists.txt b/src/lib/ngsi10/CMakeLists.txt index 36e4aee8aa..4b18063d00 100644 --- a/src/lib/ngsi10/CMakeLists.txt +++ b/src/lib/ngsi10/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES NotifyContextRequest.cpp diff --git a/src/lib/ngsi9/CMakeLists.txt b/src/lib/ngsi9/CMakeLists.txt index 7f196b64cb..3d1d676c15 100644 --- a/src/lib/ngsi9/CMakeLists.txt +++ b/src/lib/ngsi9/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES RegisterContextRequest.cpp diff --git a/src/lib/ngsiNotify/CMakeLists.txt b/src/lib/ngsiNotify/CMakeLists.txt index 7d64a23001..704fd86b4e 100644 --- a/src/lib/ngsiNotify/CMakeLists.txt +++ b/src/lib/ngsiNotify/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES doNotify.cpp diff --git a/src/lib/orionTypes/CMakeLists.txt b/src/lib/orionTypes/CMakeLists.txt index 7a7e67d93f..27e16cb9d3 100644 --- a/src/lib/orionTypes/CMakeLists.txt +++ b/src/lib/orionTypes/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES areas.cpp diff --git a/src/lib/parse/CMakeLists.txt b/src/lib/parse/CMakeLists.txt index b609f9b5bf..0ab9b01611 100644 --- a/src/lib/parse/CMakeLists.txt +++ b/src/lib/parse/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES CompoundValueNode.cpp diff --git a/src/lib/rest/CMakeLists.txt b/src/lib/rest/CMakeLists.txt index 5a4ea98262..2b490bd3f9 100644 --- a/src/lib/rest/CMakeLists.txt +++ b/src/lib/rest/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES rest.cpp diff --git a/src/lib/serviceRoutines/CMakeLists.txt b/src/lib/serviceRoutines/CMakeLists.txt index f88cfcdc8f..9b9c8d6a4d 100644 --- a/src/lib/serviceRoutines/CMakeLists.txt +++ b/src/lib/serviceRoutines/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES versionTreat.cpp diff --git a/src/lib/serviceRoutinesV2/CMakeLists.txt b/src/lib/serviceRoutinesV2/CMakeLists.txt index c0cfaf7d38..a7b3c7c89d 100644 --- a/src/lib/serviceRoutinesV2/CMakeLists.txt +++ b/src/lib/serviceRoutinesV2/CMakeLists.txt @@ -18,7 +18,7 @@ # For those usages not covered by this license please contact with # iot_support at tid dot es -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) SET (SOURCES getEntities.cpp