We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5ba8a58 + 5811942 commit 07f5b79Copy full SHA for 07f5b79
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