From 7ed76c655e63f824d83a9a3775f19af430333f3e Mon Sep 17 00:00:00 2001 From: "minje.ahn" Date: Fri, 16 Feb 2024 08:07:35 +0900 Subject: [PATCH] Fix CMake deprecation warning Updated minimum version Change-Id: I82283a6884aab90d88e274ff027de91c594c7fcb Signed-off-by: minje.ahn --- CMakeLists.txt | 2 +- anim/CMakeLists.txt | 2 +- common/CMakeLists.txt | 2 +- gif/CMakeLists.txt | 2 +- gif/unittest/CMakeLists.txt | 2 +- heif/CMakeLists.txt | 2 +- imgcv/CMakeLists.txt | 2 +- imgcv/unittest/CMakeLists.txt | 2 +- imgp/CMakeLists.txt | 2 +- imgp/unittest/CMakeLists.txt | 2 +- jpeg/CMakeLists.txt | 2 +- jpeg/unittest/CMakeLists.txt | 2 +- jxl/CMakeLists.txt | 2 +- magick/CMakeLists.txt | 2 +- magick/unittest/CMakeLists.txt | 2 +- webp/CMakeLists.txt | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ef328b..a083c12 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) SET(fw_name "mm-utility") PROJECT(${fw_name}) diff --git a/anim/CMakeLists.txt b/anim/CMakeLists.txt index e694c13..aab98c6 100644 --- a/anim/CMakeLists.txt +++ b/anim/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) SET(fw_name "mmutil_anim") PROJECT(${fw_name}) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index d49debb..516624c 100755 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) SET(fw_name "mmutil_common") PROJECT(${fw_name}) diff --git a/gif/CMakeLists.txt b/gif/CMakeLists.txt index 61b2f89..65b6da1 100644 --- a/gif/CMakeLists.txt +++ b/gif/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) SET(fw_name "mmutil_gif") PROJECT(${fw_name}) diff --git a/gif/unittest/CMakeLists.txt b/gif/unittest/CMakeLists.txt index c8f05d6..9aa2454 100644 --- a/gif/unittest/CMakeLists.txt +++ b/gif/unittest/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) PROJECT(gtest-libmm-gif C CXX) SET(GTEST_TEST "gtest-libmm-gif") diff --git a/heif/CMakeLists.txt b/heif/CMakeLists.txt index 7c26123..1168d37 100644 --- a/heif/CMakeLists.txt +++ b/heif/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) SET(fw_name "mmutil_heif") PROJECT(${fw_name}) diff --git a/imgcv/CMakeLists.txt b/imgcv/CMakeLists.txt index 40a2510..79e768c 100644 --- a/imgcv/CMakeLists.txt +++ b/imgcv/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) SET(fw_name "mmutil_imgcv") PROJECT(${fw_name}) diff --git a/imgcv/unittest/CMakeLists.txt b/imgcv/unittest/CMakeLists.txt index 0de620e..1a70eaf 100644 --- a/imgcv/unittest/CMakeLists.txt +++ b/imgcv/unittest/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) PROJECT(gtest-libmm-imgcv C CXX) SET(GTEST_TEST "gtest-libmm-imgcv") diff --git a/imgp/CMakeLists.txt b/imgp/CMakeLists.txt index 1d7877b..2fb3f25 100644 --- a/imgp/CMakeLists.txt +++ b/imgp/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) SET(fw_name "mmutil_imgp") PROJECT(${fw_name}) diff --git a/imgp/unittest/CMakeLists.txt b/imgp/unittest/CMakeLists.txt index d49c7b9..c03eb88 100644 --- a/imgp/unittest/CMakeLists.txt +++ b/imgp/unittest/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) PROJECT(gtest-libmm-imgp C CXX) SET(GTEST_TEST "gtest-libmm-imgp") diff --git a/jpeg/CMakeLists.txt b/jpeg/CMakeLists.txt index 336c3eb..e7bfb89 100644 --- a/jpeg/CMakeLists.txt +++ b/jpeg/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) SET(fw_name "mmutil_jpeg") PROJECT(${fw_name}) diff --git a/jpeg/unittest/CMakeLists.txt b/jpeg/unittest/CMakeLists.txt index fbb029d..9b65909 100644 --- a/jpeg/unittest/CMakeLists.txt +++ b/jpeg/unittest/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) PROJECT(gtest-libmm-jpeg C CXX) SET(GTEST_TEST "gtest-libmm-jpeg") diff --git a/jxl/CMakeLists.txt b/jxl/CMakeLists.txt index eb8288a..0c76439 100644 --- a/jxl/CMakeLists.txt +++ b/jxl/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) SET(fw_name "mmutil_jxl") PROJECT(${fw_name}) diff --git a/magick/CMakeLists.txt b/magick/CMakeLists.txt index a37f32d..f429b49 100644 --- a/magick/CMakeLists.txt +++ b/magick/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) SET(fw_name "mmutil_magick") PROJECT(${fw_name}) diff --git a/magick/unittest/CMakeLists.txt b/magick/unittest/CMakeLists.txt index 821149b..cc5329f 100644 --- a/magick/unittest/CMakeLists.txt +++ b/magick/unittest/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) PROJECT(gtest-libmm-magick C CXX) SET(GTEST_TEST "gtest-libmm-magick") diff --git a/webp/CMakeLists.txt b/webp/CMakeLists.txt index b5d4f26..e0ddc6a 100644 --- a/webp/CMakeLists.txt +++ b/webp/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6...2.8.12) SET(fw_name "mmutil_webp") PROJECT(${fw_name}) -- 2.7.4