drogon/cmake_modules
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
..
FindBrotli.cmake Fix brotli link order (#651) 2020-12-12 19:39:26 +08:00
FindFilesystem.cmake Remove setting c++17 in FindFilesystem (#1102) 2021-12-11 10:02:45 +08:00
FindHiredis.cmake Add redis support (#719) 2021-03-13 19:13:54 +08:00
FindJsoncpp.cmake Allow using json_cpp in other sublibraries (#1145) 2022-01-08 12:33:35 +08:00
FindMySQL.cmake Add support 'select <db>' for redis (#847) 2021-05-12 18:32:49 +08:00
FindSQLite3.cmake Make CMake install files relocatable (#387) 2020-03-18 19:54:48 +08:00
FindUUID.cmake Remove dependency on pkg-config (#398) 2020-03-21 12:41:15 +08:00
Findcoz-profiler.cmake Add causal profiling with coz (#414) 2020-04-30 13:30:37 +08:00
Findpg.cmake Fix DrogonConfig.cmake for Windows (#403) 2020-03-24 22:08:12 +08:00