We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d5df30 commit 5811942Copy full SHA for 5811942
CMakeLists.txt
@@ -11,6 +11,12 @@ if(NOT CMAKE_BUILD_TYPE)
11
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type." FORCE)
12
endif()
13
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
+
20
######################
21
# variable definitions
22
0 commit comments