diff --git a/CMakeLists.txt b/CMakeLists.txt index 7eb1c26..4e6c25f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,8 +13,8 @@ endif() if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") # Disable specific warnings (we cannot change these, KUKA has to fix them in their SDK) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-format-security -Wno-parentheses") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-format-security -Wno-parentheses") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-format-security") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-format-security") endif() ######################