mirror of
https://github.com/json-c/json-c.git
synced 2026-03-24 15:39:07 +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}
|
||||
)
|
||||
|
||||
set_property(TARGET json-c PROPERTY C_STANDARD 99)
|
||||
|
||||
install(TARGETS json-c
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
|
||||
Reference in New Issue
Block a user