diff options
Diffstat (limited to 'tools/lemon/CMakeLists.txt')
-rw-r--r-- | tools/lemon/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lemon/CMakeLists.txt b/tools/lemon/CMakeLists.txt index d0b7cb84ae..f76cfe1f18 100644 --- a/tools/lemon/CMakeLists.txt +++ b/tools/lemon/CMakeLists.txt @@ -27,11 +27,11 @@ set(CLEAN_FILES ${lemon_FILES} ) -if (WERROR) +if (WERROR_COMMON_FLAGS) set_source_files_properties( ${CLEAN_FILES} PROPERTIES - COMPILE_FLAGS -Werror + COMPILE_FLAGS ${WERROR_COMMON_FLAGS} ) endif() |