From 8f6ecbf37b7323dc81214aca5ecd684ff2b393bb Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Mon, 19 Jun 2017 18:12:03 +0300 Subject: [PATCH] build,cmake: set C_STANDARD 99 property to libjson-c-static Apply the same property as to json-c. Signed-off-by: Alexandru Ardelean --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d1f31e..b97a77f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,6 +67,7 @@ add_library(json-c-static ) set_property(TARGET json-c PROPERTY C_STANDARD 99) +set_property(TARGET json-c-static PROPERTY C_STANDARD 99) set_target_properties(json-c-static PROPERTIES OUTPUT_NAME json-c) install(TARGETS json-c json-c-static -- 2.40.0