diff options
Diffstat (limited to 'capchild/CMakeLists.txt')
-rw-r--r-- | capchild/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capchild/CMakeLists.txt b/capchild/CMakeLists.txt index cc94e47d3f..64b6edeb70 100644 --- a/capchild/CMakeLists.txt +++ b/capchild/CMakeLists.txt @@ -29,11 +29,11 @@ set(CLEAN_FILES ${CAPCHILD_SRC} ) -if (WERROR) +if (WERROR_COMMON_FLAGS) set_source_files_properties( ${CLEAN_FILES} PROPERTIES - COMPILE_FLAGS -Werror + COMPILE_FLAGS ${WERROR_COMMON_FLAGS} ) endif() |