build,cmake: rename libjson-c-static.a to libjson-c.a

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean
2017-06-19 18:08:13 +03:00
parent a36396992d
commit 4fb2eefac2
2 changed files with 2 additions and 1 deletions

2
.gitignore vendored
View File

@@ -105,5 +105,5 @@
/CMakeFiles
/cmake_install.cmake
/include
/libjson-c-static.a
/libjson-c.a
/libjson-c.so

View File

@@ -67,6 +67,7 @@ add_library(json-c-static
)
set_property(TARGET json-c PROPERTY C_STANDARD 99)
set_target_properties(json-c-static PROPERTIES OUTPUT_NAME json-c)
install(TARGETS json-c json-c-static
RUNTIME DESTINATION bin