Merge pull request #329 from commodo/rename-static-lib

build,cmake: build,cmake: rename libjson-c-static.a to libjson-c.a
This commit is contained in:
Eric Haszlakiewicz
2017-07-08 15:44:27 -04:00
committed by GitHub
2 changed files with 3 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,8 @@ 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
RUNTIME DESTINATION bin