mirror of
https://github.com/json-c/json-c.git
synced 2026-04-06 13:59:07 +08:00
Added install instructions for CMake
This commit is contained in:
@@ -58,3 +58,9 @@ add_library(json-c
|
|||||||
${JSON_C_HEADERS}
|
${JSON_C_HEADERS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install(TARGETS json-c
|
||||||
|
RUNTIME DESTINATION bin
|
||||||
|
LIBRARY DESTINATION lib
|
||||||
|
ARCHIVE DESTINATION lib)
|
||||||
|
|
||||||
|
install(DIRECTORY . DESTINATION ${CMAKE_INSTALL_PREFIX}/include FILES_MATCHING_PATTERN "*.h")
|
||||||
|
|||||||
Reference in New Issue
Block a user