[CMAKE] Stop setting the C standard on modules

Global standard is C99.
This commit is contained in:
Timo Kreuzer 2024-05-20 23:12:06 +03:00
parent e0495079cb
commit 677f190f4c
6 changed files with 0 additions and 13 deletions

View file

@ -138,9 +138,6 @@ add_dependencies(ntdll_apitest load_notifications)
if(NOT MSVC)
set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
# Avoid "universal character names are only valid in C++ and C99" error.
set_property(TARGET ntdll_apitest PROPERTY C_STANDARD 99)
endif()
add_rostests_file(TARGET ntdll_apitest)

View file

@ -38,9 +38,6 @@ add_dependencies(rtl_test_lib asm)
if(NOT MSVC)
set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
# Avoid "universal character names are only valid in C++ and C99" error.
set_property(TARGET rtl_test_lib PROPERTY C_STANDARD 99)
endif()
# RTL tests with static linkage (called unittest, so it won't run in rosautotest)