From ea73ab5c61885d3d4c1000e4d9c34313ec1067c3 Mon Sep 17 00:00:00 2001 From: Hyeongseok Oh Date: Mon, 16 Dec 2024 16:44:17 +0900 Subject: [PATCH] [infra/onert] Turn off warning from external This commit set cmake option "DISABLE_EXTERNAL_WARNING" to turn off warning from external. ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh --- infra/nnfw/cmake/CfgOptionFlags.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/nnfw/cmake/CfgOptionFlags.cmake b/infra/nnfw/cmake/CfgOptionFlags.cmake index 996271a11f2..84cd3d45834 100644 --- a/infra/nnfw/cmake/CfgOptionFlags.cmake +++ b/infra/nnfw/cmake/CfgOptionFlags.cmake @@ -11,6 +11,7 @@ include("cmake/options/options_${TARGET_PLATFORM}.cmake" OPTIONAL) # Default build configuration for project # option(ENABLE_STRICT_BUILD "Treat warning as error" ON) +option(DISABLE_EXTERNAL_WARNING "Disable warnings from external libraries compile" ON) option(ENABLE_COVERAGE "Build for coverage test" OFF) #