Skip to content

Commit 72dfb04

Browse files
committed
add compile options
1 parent 297dbf7 commit 72dfb04

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

third-party/realsense-file/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ message(STATUS "ROSBAG2_COMPILE_FLAGS: ${ROSBAG2_COMPILE_FLAGS}")
4747
target_compile_definitions(${PROJECT_NAME} PUBLIC
4848
${ROSBAG2_COMPILE_FLAGS}
4949
)
50+
target_compile_options(${PROJECT_NAME} PRIVATE
51+
-include cstdint -std=c++14
52+
)
5053

5154
target_link_libraries(${PROJECT_NAME} PRIVATE
5255
$<$<BOOL:${USE_EXTERNAL_LZ4}>:lz4::lz4>

0 commit comments

Comments
 (0)