From: Steve Gerbino Date: Mon, 26 Sep 2016 04:09:55 +0000 (-0400) Subject: Target C99 standards to get rid of warnings X-Git-Tag: json-c-0.13-20171207~120^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c749d96eadd7936ae7874b03ee47032fa151533;p=thirdparty%2Fjson-c.git Target C99 standards to get rid of warnings --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f645dd5..6f3a951e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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