We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9648737 commit 6d74648Copy full SHA for 6d74648
1 file changed
rmw_microxrcedds_c/CMakeLists.txt
@@ -93,6 +93,8 @@ set(RMW_UXRCE_STREAM_HISTORY_OUTPUT "" CACHE STRING
93
"This value sets the number of MTUs to output buffer. It will be ignored if RMW_UXRCE_STREAM_HISTORY_INPUT is blank. \
94
If set, must be a power of two.")
95
96
+set(RMW_UXRCE_C_STANDARD 99 CACHE STRING "Version of the C language used to build the library")
97
+
98
if(RMW_UXRCE_STREAM_HISTORY_INPUT STREQUAL "" OR RMW_UXRCE_STREAM_HISTORY_OUTPUT STREQUAL "")
99
unset(RMW_UXRCE_STREAM_HISTORY_INPUT)
100
unset(RMW_UXRCE_STREAM_HISTORY_OUTPUT)
@@ -294,7 +296,7 @@ target_include_directories(${PROJECT_NAME}
294
296
295
297
set_target_properties(${PROJECT_NAME} PROPERTIES
298
C_STANDARD
- 99
299
+ ${RMW_UXRCE_C_STANDARD}
300
C_STANDARD_REQUIRED
301
YES
302
)
0 commit comments