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