From 13c7e861759bcf1f5315d37d80a7484783dc11ff Mon Sep 17 00:00:00 2001 From: Sergei Korneichuk Date: Mon, 12 Dec 2022 15:59:26 -0800 Subject: [PATCH] cmake: use set_property for PROJECT_EC_FLAGS Fix PROJECT_EC_FLAGS definition: use set_property instead of set. Signed-off-by: Sergei Korneichuk --- cmake/options.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/options.cmake b/cmake/options.cmake index 9e51db4d..a7b4ef8b 100644 --- a/cmake/options.cmake +++ b/cmake/options.cmake @@ -72,5 +72,5 @@ option (WITH_DEFAULT_LOGGER "Build with default logger" ON) option (WITH_DOC "Build with documentation" ON) -set (GLOBAL PROPERTY "PROJECT_EC_FLAGS" "-Wall -Werror -Wextra" CACHE STRING "") +set_property (GLOBAL PROPERTY "PROJECT_EC_FLAGS" -Wall -Werror -Wextra) # vim: expandtab:ts=2:sw=2:smartindent