88f4f090a8
If another sublibrary also imports jsoncpp, `FindJsonCpp.cmake` fails with error message `add_library cannot create imported target Jsoncpp_lib because another target with the same name already exists.`. Adding the `if (NOT TARGET Jsoncpp_lib)`-guard fixes this. It might be useful to check if there's a similar problem with other sublibraries included by Drogon. |
||
---|---|---|
.. | ||
FindBrotli.cmake | ||
FindFilesystem.cmake | ||
FindHiredis.cmake | ||
FindJsoncpp.cmake | ||
FindMySQL.cmake | ||
FindSQLite3.cmake | ||
FindUUID.cmake | ||
Findcoz-profiler.cmake | ||
Findpg.cmake |