Target C99 standards to get rid of warnings

This commit is contained in:
Steve Gerbino
2016-09-26 00:09:55 -04:00
parent 928858457b
commit 0c749d96ea

View File

@@ -54,6 +54,8 @@ add_library(json-c
${JSON_C_HEADERS}
)
set_property(TARGET json-c PROPERTY C_STANDARD 99)
install(TARGETS json-c
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib