Commit Graph

6 Commits

Author SHA1 Message Date
timomrs 88f4f090a8
Allow using json_cpp in other sublibraries (#1145)
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.
2022-01-08 12:33:35 +08:00
An Tao 7af67dc4da
Make CMake install files relocatable (#387) 2020-03-18 19:54:48 +08:00
An Tao 978bd7c32f
Fix error when finding the jsoncpp library (#356) 2020-02-22 11:34:05 +08:00
An Tao 58702dc41e
Port drogon to Windows (#335)
Co-authored-by: mcirsta <mforce2@gmail.com>
2020-01-25 11:58:20 +08:00
an-tao 5bf0746673 chmod 2018-06-06 09:35:04 +08:00
an-tao 5cc1ab00e5 fix find libjsoncpp bug in CMakeLists.txt 2018-06-03 21:29:45 +08:00