Closed
Description
jsoncpp 1.8.4 creates target jsoncpp_lib_static where as 1.9.4 creates jsoncpp_static. We use 1.8.4 for some platforms and 1.9.4 for some. This makes us to use if else ladder in our scripts.
Instead we can create ALIAS using cmake add_library(jsoncpp_lib_static ALIAS jsoncpp_static)
this is failing because jsoncpp is not creating global target.
jsoncpp should import targets with global scope.
add_library(jsoncpp_static STATIC EXPORTED GLOBAL)
Metadata
Metadata
Assignees
Labels
No labels