Explorar el Código

Merge pull request #5003 from jbeich/clang

input_common: unbreak -Werror with Clang
LC hace 5 años
padre
commit
b70751ccb9
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/input_common/CMakeLists.txt

+ 2 - 2
src/input_common/CMakeLists.txt

@@ -56,8 +56,8 @@ else()
         -Werror=reorder
         -Werror=shadow
         -Werror=sign-compare
-        -Werror=unused-but-set-parameter
-        -Werror=unused-but-set-variable
+        $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
+        $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
         -Werror=unused-variable
     )
 endif()