diff options
Diffstat (limited to 'plugins/unistim')
-rw-r--r-- | plugins/unistim/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/unistim/CMakeLists.txt b/plugins/unistim/CMakeLists.txt index 5f700f7ec0..0725c3f4ea 100644 --- a/plugins/unistim/CMakeLists.txt +++ b/plugins/unistim/CMakeLists.txt @@ -37,11 +37,11 @@ set(CLEAN_FILES ${PLUGIN_FILES} ) -if (WERROR) +if (WERROR_COMMON_FLAGS) set_source_files_properties( ${CLEAN_FILES} PROPERTIES - COMPILE_FLAGS -Werror + COMPILE_FLAGS ${WERROR_COMMON_FLAGS} ) endif() |