mirror of
https://github.com/json-c/json-c.git
synced 2026-04-09 23:39:06 +08:00
Target C99 standards to get rid of warnings
This commit is contained in:
@@ -54,6 +54,8 @@ add_library(json-c
|
|||||||
${JSON_C_HEADERS}
|
${JSON_C_HEADERS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_property(TARGET json-c PROPERTY C_STANDARD 99)
|
||||||
|
|
||||||
install(TARGETS json-c
|
install(TARGETS json-c
|
||||||
RUNTIME DESTINATION bin
|
RUNTIME DESTINATION bin
|
||||||
LIBRARY DESTINATION lib
|
LIBRARY DESTINATION lib
|
||||||
|
|||||||
Reference in New Issue
Block a user