Skip to content

Commit 07f5b79

Browse files
committed
Merge branch 'fri-1.15' into fri-1.14
2 parents 5ba8a58 + 5811942 commit 07f5b79

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ if(NOT CMAKE_BUILD_TYPE)
1111
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type." FORCE)
1212
endif()
1313

14+
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
15+
# Disable specific warnings (we cannot change these, KUKA has to fix them in their SDK)
16+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-format-security -Wno-parentheses")
17+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-format-security -Wno-parentheses")
18+
endif()
19+
1420
######################
1521
# variable definitions
1622
######################

0 commit comments

Comments
 (0)