Skip to content

Commit 773c1fa

Browse files
rgetzpcercuei
authored andcommitted
utils: make sure the common utility library gets compiled c99
This will reduce some warnings on older versions of gcc Signed-off-by: Robin Getz <[email protected]>
1 parent 56910cb commit 773c1fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if(PTHREAD_LIBRARIES OR ANDROID)
5959
target_link_libraries(iio_writedev ${PTHREAD_LIBRARIES})
6060
endif()
6161

62-
set_target_properties(${IIO_TESTS_TARGETS} PROPERTIES
62+
set_target_properties(${IIO_TESTS_TARGETS} iio_tests_helper PROPERTIES
6363
C_STANDARD 99
6464
C_STANDARD_REQUIRED ON
6565
C_EXTENSIONS OFF

0 commit comments

Comments
 (0)