Skip to content

Commit

Permalink
Merge branch 'fri-1.15' into fri-2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mhubii committed Oct 22, 2024
2 parents 80d29f1 + 5811942 commit a32e8e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type." FORCE)
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")
endif()

######################
# variable definitions
######################
Expand Down

0 comments on commit a32e8e3

Please sign in to comment.