]> granicus.if.org Git - json-c/commit
Allow use json-c cmake as subproject
authorIvan Romanov <drizt@land.ru>
Sat, 20 Oct 2018 05:50:15 +0000 (10:50 +0500)
committerIvan Romanov <drizt@land.ru>
Sat, 20 Oct 2018 05:50:15 +0000 (10:50 +0500)
commitba5a02e8a90c2a62d1bf6cfe26249fd394771930
treef3787c77468d8f09d2b2c3f718592fca8e88048a
parent994e6c1f6030a052429c50a917a3991c5e2e7646
Allow use json-c cmake as subproject

Now json-c can be bundled to any cmake-based project and used with
couple lines of code:

add_subdirectory(json-c EXCLUDE_FROM_ALL)
target_link_libraries(MyProject json-c)
CMakeLists.txt