diff options
author | Eric Kunze <eric.kunze@arm.com> | 2024-01-10 00:23:43 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2024-01-10 00:23:43 +0000 |
commit | 89ff71dbab705cd64a7c84892ad5569ab1e18a9a (patch) | |
tree | 4359031df6fa86bf70c3a1da956623128476a19d | |
parent | a3961d01940120c15dceb7d7375677138ebd26bc (diff) | |
download | reference_model-89ff71dbab705cd64a7c84892ad5569ab1e18a9a.tar.gz |
CMake update to quiet warnings
Update the minimum cmake version to 3.16 and set policy CMP0135
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Idd96c7a318f9458e39d38cd07cf29b9ac6ee63ad
-rw-r--r-- | CMakeLists.txt | 16 | ||||
-rw-r--r-- | reference_model/CMakeLists.txt | 2 | ||||
-rw-r--r-- | reference_model/custom_op_example/CMakeLists.txt | 4 | ||||
-rw-r--r-- | thirdparty/CMakeLists.txt | 4 |
4 files changed, 21 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 117bc9f..c4e7bf8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,18 @@ -cmake_minimum_required (VERSION 3.4) +cmake_minimum_required (VERSION 3.16) + +# Copyright (c) 2023-2024, ARM Limited. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. set(CMAKE_INSTALL_PREFIX ".") project(tosa_tools LANGUAGES CXX) diff --git a/reference_model/CMakeLists.txt b/reference_model/CMakeLists.txt index 538c50b..41e4d57 100644 --- a/reference_model/CMakeLists.txt +++ b/reference_model/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.4) +cmake_minimum_required (VERSION 3.16) # Copyright (c) 2020-2024, ARM Limited. # diff --git a/reference_model/custom_op_example/CMakeLists.txt b/reference_model/custom_op_example/CMakeLists.txt index aea8071..b16ffec 100644 --- a/reference_model/custom_op_example/CMakeLists.txt +++ b/reference_model/custom_op_example/CMakeLists.txt @@ -1,6 +1,6 @@ -cmake_minimum_required (VERSION 3.4) +cmake_minimum_required (VERSION 3.16) -# Copyright (c) 2023, ARM Limited. +# Copyright (c) 2023-2024, ARM Limited. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index aa6c43d..df9caee 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -1,4 +1,6 @@ -cmake_minimum_required (VERSION 3.4) +cmake_minimum_required (VERSION 3.16) + +cmake_policy(SET CMP0135 NEW) # fetch 3rd party libraries include(FetchContent) |