From: minje.ahn Date: Thu, 15 Feb 2024 23:07:35 +0000 (+0900) Subject: Fix CMake deprecation warning X-Git-Tag: accepted/tizen/unified/20240220.115633~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ed76c655e63f824d83a9a3775f19af430333f3e;p=platform%2Fcore%2Fmultimedia%2Flibmm-utility.git Fix CMake deprecation warning Updated minimum version Change-Id: I82283a6884aab90d88e274ff027de91c594c7fcb Signed-off-by: minje.ahn --- 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})