File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ find_package(fmt REQUIRED)
28
28
add_executable (${TARGET_NAME} src/main.cpp src/frame_player.cpp src/imu_player.cpp )
29
29
target_link_libraries (${TARGET_NAME} rerun_sdk vrslib vrs_utils fmt )
30
30
target_include_directories (${TARGET_NAME} PRIVATE src )
31
+ target_include_directories (${TARGET_NAME} SYSTEM PRIVATE ${rerun_sdk_SOURCE_DIR} ) # Ignore warnings in Rerun SDK headers
31
32
target_include_directories (${TARGET_NAME} SYSTEM PRIVATE ${vrslib_SOURCE_DIR} ) # Ignore warnings in VRS headers
32
33
33
34
58
59
-Wall
59
60
-Wcast-align
60
61
-Wcast-qual
62
+ -Wdeprecated
63
+ -Wdeprecated-declarations
61
64
-Werror=deprecated-declarations
62
65
-Wextra
63
66
-Wformat=2
@@ -101,6 +104,8 @@ else()
101
104
-Wno-reserved-id-macro
102
105
-Wno-reserved-identifier
103
106
-Wno-unused-macros
107
+ -Wno-unsafe-buffer-usage # Not sure why we need this, but we do.
108
+ -Wno-unknown-warning-option # Otherwise older clang will complain about `-Wno-unsafe-buffer-usage`
104
109
)
105
110
endif ()
106
111
You can’t perform that action at this time.
0 commit comments