mirror of
https://github.com/json-c/json-c.git
synced 2026-03-21 14:09:06 +08:00
Added install instructions for CMake
This commit is contained in:
@@ -58,3 +58,9 @@ add_library(json-c
|
||||
${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