Skip to content

Commit

Permalink
cmake: use set_property for PROJECT_EC_FLAGS
Browse files Browse the repository at this point in the history
Fix PROJECT_EC_FLAGS definition: use set_property instead of set.

Signed-off-by: Sergei Korneichuk <[email protected]>
  • Loading branch information
kernelchuk authored and arnopo committed Dec 13, 2022
1 parent a48ec03 commit 9e99e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9e99e5b

Please sign in to comment.