Browse Source

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

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
tags/json-c-0.13-20171207
Alexandru Ardelean 8 years ago
parent
commit
4fb2eefac2
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      .gitignore
  2. +1
    -0
      CMakeLists.txt

+ 1
- 1
.gitignore View File

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

+ 1
- 0
CMakeLists.txt View File

@@ -67,6 +67,7 @@ add_library(json-c-static
) )


set_property(TARGET json-c PROPERTY C_STANDARD 99) 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 install(TARGETS json-c json-c-static
RUNTIME DESTINATION bin RUNTIME DESTINATION bin


Loading…
Cancel
Save