From 313754e4ed9cfd97afdcc2a95099fe704e4189ee Mon Sep 17 00:00:00 2001 From: Burt P Date: Tue, 25 Jun 2019 20:46:24 -0500 Subject: devices/dmi_memory.c: shell viewtype=1 version, other tweaks * add -std=c99 for dmi_memory.c to use unicode * -std=c99 is picky about inline functions Signed-off-by: Burt P --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ae01bbf..fc78df39 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -199,6 +199,12 @@ set_source_files_properties( COMPILE_FLAGS "-O0" ) +set_source_files_properties( + modules/devices/dmi_memory.c + PROPERTIES + COMPILE_FLAGS "-std=c99" +) + foreach (_module ${HARDINFO_MODULES}) add_library(${_module} MODULE ${MODULE_${_module}_SOURCES}) set_target_properties(${_module} PROPERTIES PREFIX "") -- cgit v1.2.3