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