diff options
author | Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com> | 2024-04-19 13:18:04 +0200 |
---|---|---|
committer | Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com> | 2024-05-31 09:45:24 +0200 |
commit | aa3a334c00640dc311ad13c517b84f01f2ff60bb (patch) | |
tree | 35a8c60346acd98d1273bebaf5155b07f40e1c01 /applications/CMakeLists.txt | |
parent | 9ff7fd6044b41408e20eb0673cdedb2edc871b0b (diff) | |
download | ethos-u-core-software-main.tar.gz |
This patch adds -Werror flag to lib and applications folders to treat
warnings as errors.
Change-Id: I2ab8c04ee809ae4b79c0ad29b808a9c37dd7b48d
Signed-off-by: Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
Diffstat (limited to 'applications/CMakeLists.txt')
-rw-r--r-- | applications/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/applications/CMakeLists.txt b/applications/CMakeLists.txt index 1f6f6aa..b99764a 100644 --- a/applications/CMakeLists.txt +++ b/applications/CMakeLists.txt @@ -1,6 +1,5 @@ # -# SPDX-FileCopyrightText: Copyright 2019-2022 Arm Limited and/or its affiliates <open-source-office@arm.com> -# +# SPDX-FileCopyrightText: Copyright 2019-2022, 2024 Arm Limited and/or its affiliates <open-source-office@arm.com> # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the License); you may @@ -16,5 +15,10 @@ # limitations under the License. # +# +# Compile options +# +add_compile_options(-Werror) + # Build inference process add_subdirectory(inference_process) |