Skip to content

Commit

Permalink
utils: make sure the common utility library gets compiled c99
Browse files Browse the repository at this point in the history
This will reduce some warnings on older versions of gcc

Signed-off-by: Robin Getz <[email protected]>
  • Loading branch information
rgetz authored and pcercuei committed Feb 21, 2022
1 parent 56910cb commit 773c1fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if(PTHREAD_LIBRARIES OR ANDROID)
target_link_libraries(iio_writedev ${PTHREAD_LIBRARIES})
endif()

set_target_properties(${IIO_TESTS_TARGETS} PROPERTIES
set_target_properties(${IIO_TESTS_TARGETS} iio_tests_helper PROPERTIES
C_STANDARD 99
C_STANDARD_REQUIRED ON
C_EXTENSIONS OFF
Expand Down

0 comments on commit 773c1fa

Please sign in to comment.