123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367 |
- From 2e9646ffdda80dcffc58d540dfa072c9dc40f858 Mon Sep 17 00:00:00 2001
- From: Andy Hu <andy.hu@starfivetech.com>
- Date: Thu, 27 Oct 2022 14:40:52 +0800
- Subject: [PATCH] Update to cmake_minimum_required (VERSION 3.0) to fix cmake
- warning
- ---
- DDKSource/CI/CMakeLists.txt | 2 +-
- DDKSource/CI/mantis/CMakeLists.txt | 2 +-
- DDKSource/CI/mantis/mantis_lib/CMakeLists.txt | 2 +-
- DDKSource/CI/mantis/mantis_lib/user/CMakeLists.txt | 2 +-
- DDKSource/CI/mantis/project.cmake | 2 +-
- DDKSource/CI/mantis/regdefs1.0/FindRegDefs.cmake | 2 +-
- DDKSource/CMakeLists.txt | 2 +-
- DDKSource/ISP_Control/CMakeLists.txt | 2 +-
- DDKSource/ISP_Control/ISPC_lib/CMakeLists.txt | 2 +-
- DDKSource/ISP_Control/ISPC_lib/FindISPC.cmake | 2 +-
- DDKSource/ISP_Control/ISP_api/CMakeLists.txt | 2 +-
- DDKSource/ISP_Control/ISP_api/FindISP_API.cmake | 2 +-
- DDKSource/Media_Control/CMakeLists.txt | 2 +-
- DDKSource/Media_Control/media-ctl/CMakeLists.txt | 2 +-
- DDKSource/Media_Control/media-ctl/FindMediaCtrlLib.cmake | 2 +-
- DDKSource/build/PerforceUtils.cmake | 2 +-
- DDKSource/common/CMakeLists.txt | 2 +-
- DDKSource/common/linkedlist/CMakeLists.txt | 2 +-
- DDKSource/common/linkedlist/FindLinkedList.cmake | 2 +-
- DDKSource/common/stf_common/FindStfCommon.cmake | 2 +-
- DDKSource/common/stf_includes/CMakeLists.txt | 2 +-
- DDKSource/common/stf_includes/FindStfIncludes.cmake | 2 +-
- DDKSource/sensorapi/CMakeLists.txt | 2 +-
- DDKSource/sensorapi/FindSensorApi.cmake | 2 +-
- DDKSource/startfive_apps/CMakeLists.txt | 2 +-
- DDKSource/startfive_apps/StarFiveServer/CMakeLists.txt | 2 +-
- DDKSource/test_apps/CMakeLists.txt | 2 +-
- DDKSource/test_apps/ISP_test/CMakeLists.txt | 2 +-
- DDKSource/test_apps/stf_isp_ctrl/CMakeLists.txt | 2 +-
- DDKSource/test_apps/stf_isp_ctrl/FindStf_Isp_Ctrl.cmake | 2 +-
- DDKSource/test_apps/stf_isp_test/CMakeLists.txt | 2 +-
- DDKSource/test_apps/stf_isp_test/FindStfIspTest.cmake | 2 +-
- 32 files changed, 32 insertions(+), 32 deletions(-)
- diff --git a/DDKSource/CI/CMakeLists.txt b/DDKSource/CI/CMakeLists.txt
- index df372dc..63e5def 100755
- --- a/DDKSource/CI/CMakeLists.txt
- +++ b/DDKSource/CI/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(CAPTURE_INTERFACE)
-
- diff --git a/DDKSource/CI/mantis/CMakeLists.txt b/DDKSource/CI/mantis/CMakeLists.txt
- index 75aa4d9..2bd593b 100755
- --- a/DDKSource/CI/mantis/CMakeLists.txt
- +++ b/DDKSource/CI/mantis/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(MANTIS)
-
- diff --git a/DDKSource/CI/mantis/mantis_lib/CMakeLists.txt b/DDKSource/CI/mantis/mantis_lib/CMakeLists.txt
- index 9242a5e..76daf4b 100755
- --- a/DDKSource/CI/mantis/mantis_lib/CMakeLists.txt
- +++ b/DDKSource/CI/mantis/mantis_lib/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(MantisLib) # used in FindDG and in driver_test
-
- diff --git a/DDKSource/CI/mantis/mantis_lib/user/CMakeLists.txt b/DDKSource/CI/mantis/mantis_lib/user/CMakeLists.txt
- index b1a73d0..e777791 100755
- --- a/DDKSource/CI/mantis/mantis_lib/user/CMakeLists.txt
- +++ b/DDKSource/CI/mantis/mantis_lib/user/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- set(STFINCLUDES_FORCE_KERNEL FALSE) # this part is not in a kernel module - make sure of it
- find_package(StfIncludes REQUIRED)
- diff --git a/DDKSource/CI/mantis/project.cmake b/DDKSource/CI/mantis/project.cmake
- index 77d2a31..2266ef8 100755
- --- a/DDKSource/CI/mantis/project.cmake
- +++ b/DDKSource/CI/mantis/project.cmake
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- if (NOT CMAKE_BUILD_TYPE)
- if (WIN32)
- diff --git a/DDKSource/CI/mantis/regdefs1.0/FindRegDefs.cmake b/DDKSource/CI/mantis/regdefs1.0/FindRegDefs.cmake
- index 1431189..d450b54 100755
- --- a/DDKSource/CI/mantis/regdefs1.0/FindRegDefs.cmake
- +++ b/DDKSource/CI/mantis/regdefs1.0/FindRegDefs.cmake
- @@ -2,7 +2,7 @@
- # Defines the register definitions headers location
- #
- #
- -cmake_minimum_required (VERSION 2.8)
- +cmake_minimum_required (VERSION 3.0)
-
- get_filename_component(REGDEF_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
-
- diff --git a/DDKSource/CMakeLists.txt b/DDKSource/CMakeLists.txt
- index 9eccacf..d78fd70 100755
- --- a/DDKSource/CMakeLists.txt
- +++ b/DDKSource/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- set(ISPSDK_VERSION 2.0.1)
-
- diff --git a/DDKSource/ISP_Control/CMakeLists.txt b/DDKSource/ISP_Control/CMakeLists.txt
- index 6ae455f..8788e9d 100644
- --- a/DDKSource/ISP_Control/CMakeLists.txt
- +++ b/DDKSource/ISP_Control/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(ISPCONTROL)
-
- diff --git a/DDKSource/ISP_Control/ISPC_lib/CMakeLists.txt b/DDKSource/ISP_Control/ISPC_lib/CMakeLists.txt
- index f4c8946..d500060 100755
- --- a/DDKSource/ISP_Control/ISPC_lib/CMakeLists.txt
- +++ b/DDKSource/ISP_Control/ISPC_lib/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(ISPC_LIBRARIES)
-
- diff --git a/DDKSource/ISP_Control/ISPC_lib/FindISPC.cmake b/DDKSource/ISP_Control/ISPC_lib/FindISPC.cmake
- index c9ad706..11944d0 100755
- --- a/DDKSource/ISP_Control/ISPC_lib/FindISPC.cmake
- +++ b/DDKSource/ISP_Control/ISPC_lib/FindISPC.cmake
- @@ -1,4 +1,4 @@
- -cmake_minimum_required (VERSION 2.8)
- +cmake_minimum_required (VERSION 3.0)
-
- get_filename_component (ISPC_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
-
- diff --git a/DDKSource/ISP_Control/ISP_api/CMakeLists.txt b/DDKSource/ISP_Control/ISP_api/CMakeLists.txt
- index 50f1289..b960fcf 100644
- --- a/DDKSource/ISP_Control/ISP_api/CMakeLists.txt
- +++ b/DDKSource/ISP_Control/ISP_api/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(ISP_API)
-
- diff --git a/DDKSource/ISP_Control/ISP_api/FindISP_API.cmake b/DDKSource/ISP_Control/ISP_api/FindISP_API.cmake
- index bc83c76..90fbac3 100755
- --- a/DDKSource/ISP_Control/ISP_api/FindISP_API.cmake
- +++ b/DDKSource/ISP_Control/ISP_api/FindISP_API.cmake
- @@ -1,4 +1,4 @@
- -cmake_minimum_required (VERSION 2.8)
- +cmake_minimum_required (VERSION 3.0)
-
- get_filename_component (ISP_API_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
-
- diff --git a/DDKSource/Media_Control/CMakeLists.txt b/DDKSource/Media_Control/CMakeLists.txt
- index 7b8cbd0..b8398c0 100644
- --- a/DDKSource/Media_Control/CMakeLists.txt
- +++ b/DDKSource/Media_Control/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(MEDIACTRL)
-
- diff --git a/DDKSource/Media_Control/media-ctl/CMakeLists.txt b/DDKSource/Media_Control/media-ctl/CMakeLists.txt
- index f9679c0..deb14b7 100644
- --- a/DDKSource/Media_Control/media-ctl/CMakeLists.txt
- +++ b/DDKSource/Media_Control/media-ctl/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required (VERSION 2.8)
- +cmake_minimum_required (VERSION 3.0)
-
- project(MEDIACTRLLIB)
-
- diff --git a/DDKSource/Media_Control/media-ctl/FindMediaCtrlLib.cmake b/DDKSource/Media_Control/media-ctl/FindMediaCtrlLib.cmake
- index 29ba82c..defcd3a 100644
- --- a/DDKSource/Media_Control/media-ctl/FindMediaCtrlLib.cmake
- +++ b/DDKSource/Media_Control/media-ctl/FindMediaCtrlLib.cmake
- @@ -1,4 +1,4 @@
- -cmake_minimum_required (VERSION 2.8)
- +cmake_minimum_required (VERSION 3.0)
-
- get_filename_component (MEDIACTRLLIB_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
-
- diff --git a/DDKSource/build/PerforceUtils.cmake b/DDKSource/build/PerforceUtils.cmake
- index 0b6a588..85cafe6 100755
- --- a/DDKSource/build/PerforceUtils.cmake
- +++ b/DDKSource/build/PerforceUtils.cmake
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- if(NOT DEFINED P4UTILS_BASE_DIR)
- set(P4UTILS_BASE_DIR ${CMAKE_SOURCE_DIR})
- diff --git a/DDKSource/common/CMakeLists.txt b/DDKSource/common/CMakeLists.txt
- index 7b979bb..14eb516 100755
- --- a/DDKSource/common/CMakeLists.txt
- +++ b/DDKSource/common/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- message(STATUS "== Common libraries ==")
-
- diff --git a/DDKSource/common/linkedlist/CMakeLists.txt b/DDKSource/common/linkedlist/CMakeLists.txt
- index bb118ce..4c6d003 100755
- --- a/DDKSource/common/linkedlist/CMakeLists.txt
- +++ b/DDKSource/common/linkedlist/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project (LinkedList)
-
- diff --git a/DDKSource/common/linkedlist/FindLinkedList.cmake b/DDKSource/common/linkedlist/FindLinkedList.cmake
- index 1a7e83e..d98cf4c 100755
- --- a/DDKSource/common/linkedlist/FindLinkedList.cmake
- +++ b/DDKSource/common/linkedlist/FindLinkedList.cmake
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- #
- # output:
- diff --git a/DDKSource/common/stf_common/FindStfCommon.cmake b/DDKSource/common/stf_common/FindStfCommon.cmake
- index 5670dcc..c435cf6 100644
- --- a/DDKSource/common/stf_common/FindStfCommon.cmake
- +++ b/DDKSource/common/stf_common/FindStfCommon.cmake
- @@ -1,4 +1,4 @@
- -cmake_minimum_required (VERSION 2.8)
- +cmake_minimum_required (VERSION 3.0)
-
- get_filename_component (STFCOMMON_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
-
- diff --git a/DDKSource/common/stf_includes/CMakeLists.txt b/DDKSource/common/stf_includes/CMakeLists.txt
- index 83bc8d4..bd23011 100755
- --- a/DDKSource/common/stf_includes/CMakeLists.txt
- +++ b/DDKSource/common/stf_includes/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(StfIncludes)
-
- diff --git a/DDKSource/common/stf_includes/FindStfIncludes.cmake b/DDKSource/common/stf_includes/FindStfIncludes.cmake
- index 4ac2f29..7877f3f 100755
- --- a/DDKSource/common/stf_includes/FindStfIncludes.cmake
- +++ b/DDKSource/common/stf_includes/FindStfIncludes.cmake
- @@ -1,4 +1,4 @@
- -cmake_minimum_required (VERSION 2.8)
- +cmake_minimum_required (VERSION 3.0)
-
- # ----------------------------------------------------------------------
- # Locate and configure the StfIncludes library.
- diff --git a/DDKSource/sensorapi/CMakeLists.txt b/DDKSource/sensorapi/CMakeLists.txt
- index 3b0fe09..33fd7e0 100644
- --- a/DDKSource/sensorapi/CMakeLists.txt
- +++ b/DDKSource/sensorapi/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required (VERSION 2.8)
- +cmake_minimum_required (VERSION 3.0)
-
- project(SENSORAPI)
-
- diff --git a/DDKSource/sensorapi/FindSensorApi.cmake b/DDKSource/sensorapi/FindSensorApi.cmake
- index b603886..7ae238c 100644
- --- a/DDKSource/sensorapi/FindSensorApi.cmake
- +++ b/DDKSource/sensorapi/FindSensorApi.cmake
- @@ -1,4 +1,4 @@
- -cmake_minimum_required (VERSION 2.8)
- +cmake_minimum_required (VERSION 3.0)
-
- get_filename_component (SENSORAPI_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
-
- diff --git a/DDKSource/startfive_apps/CMakeLists.txt b/DDKSource/startfive_apps/CMakeLists.txt
- index 418a8e0..45819a2 100755
- --- a/DDKSource/startfive_apps/CMakeLists.txt
- +++ b/DDKSource/startfive_apps/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(startfive_apps)
-
- diff --git a/DDKSource/startfive_apps/StarFiveServer/CMakeLists.txt b/DDKSource/startfive_apps/StarFiveServer/CMakeLists.txt
- index bb042a6..f69f734 100755
- --- a/DDKSource/startfive_apps/StarFiveServer/CMakeLists.txt
- +++ b/DDKSource/startfive_apps/StarFiveServer/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- message(STATUS "== build StarFiveServer ==")
-
- diff --git a/DDKSource/test_apps/CMakeLists.txt b/DDKSource/test_apps/CMakeLists.txt
- index 57ef8c1..ae80d73 100755
- --- a/DDKSource/test_apps/CMakeLists.txt
- +++ b/DDKSource/test_apps/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(test_apps)
-
- diff --git a/DDKSource/test_apps/ISP_test/CMakeLists.txt b/DDKSource/test_apps/ISP_test/CMakeLists.txt
- index 88de81f..762e620 100644
- --- a/DDKSource/test_apps/ISP_test/CMakeLists.txt
- +++ b/DDKSource/test_apps/ISP_test/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- get_filename_component (ISP_TEST_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
-
- diff --git a/DDKSource/test_apps/stf_isp_ctrl/CMakeLists.txt b/DDKSource/test_apps/stf_isp_ctrl/CMakeLists.txt
- index 083f20a..861f91d 100644
- --- a/DDKSource/test_apps/stf_isp_ctrl/CMakeLists.txt
- +++ b/DDKSource/test_apps/stf_isp_ctrl/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(STF_ISP_CTRL)
-
- diff --git a/DDKSource/test_apps/stf_isp_ctrl/FindStf_Isp_Ctrl.cmake b/DDKSource/test_apps/stf_isp_ctrl/FindStf_Isp_Ctrl.cmake
- index 7159164..9be8f90 100755
- --- a/DDKSource/test_apps/stf_isp_ctrl/FindStf_Isp_Ctrl.cmake
- +++ b/DDKSource/test_apps/stf_isp_ctrl/FindStf_Isp_Ctrl.cmake
- @@ -1,4 +1,4 @@
- -cmake_minimum_required (VERSION 2.8)
- +cmake_minimum_required (VERSION 3.0)
-
- get_filename_component (STF_ISP_CTRL_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
-
- diff --git a/DDKSource/test_apps/stf_isp_test/CMakeLists.txt b/DDKSource/test_apps/stf_isp_test/CMakeLists.txt
- index e360553..35607bf 100644
- --- a/DDKSource/test_apps/stf_isp_test/CMakeLists.txt
- +++ b/DDKSource/test_apps/stf_isp_test/CMakeLists.txt
- @@ -1,4 +1,4 @@
- -cmake_minimum_required(VERSION 2.8)
- +cmake_minimum_required(VERSION 3.0)
-
- project(STF_ISP_TEST)
-
- diff --git a/DDKSource/test_apps/stf_isp_test/FindStfIspTest.cmake b/DDKSource/test_apps/stf_isp_test/FindStfIspTest.cmake
- index e082bce..41102ee 100755
- --- a/DDKSource/test_apps/stf_isp_test/FindStfIspTest.cmake
- +++ b/DDKSource/test_apps/stf_isp_test/FindStfIspTest.cmake
- @@ -1,4 +1,4 @@
- -cmake_minimum_required (VERSION 2.8)
- +cmake_minimum_required (VERSION 3.0)
-
- get_filename_component (STF_ISP_TEST_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
-
- --
- 2.36.0
|