From 0c749d96eadd7936ae7874b03ee47032fa151533 Mon Sep 17 00:00:00 2001 From: Steve Gerbino Date: Mon, 26 Sep 2016 00:09:55 -0400 Subject: [PATCH] Target C99 standards to get rid of warnings --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f645dd..6f3a951 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 -- 2.40.0