From 8161364263e418bcc2265c10db380cf8040fcf94 Mon Sep 17 00:00:00 2001 From: mhubii <m.huber_1994@hotmail.de> Date: Tue, 22 Oct 2024 19:39:16 +0100 Subject: [PATCH] fix compilation warnings --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3474127..370fee6 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() ######################