jsoncpp icon indicating copy to clipboard operation
jsoncpp copied to clipboard

find_package(jsoncpp REQUIRED) failed

Open longjiang321 opened this issue 2 years ago • 2 comments

hi kindly friends: I want to use jsoncpp with cmake in QT, when I use find_package(jsoncpp REQUIRED), it cant find libs and include files, as you see in the below screenshot, the libs is always blank, at the same time, it didnt entery if(NOT jsoncpp_FOUND), does some one can help to point my error!! thank you so much in advance!!

` image the enviromental variable is set as below! image

longjiang321 avatar May 14 '23 03:05 longjiang321

same issue, also, JSONCPP_LIBRARIES is not set and has to be set manually setup: windows-x64 vcpkg clion with MSVC compiler and VS 2017 generator

inv-kunal-bansal avatar Jun 17 '23 22:06 inv-kunal-bansal

@longjiang321 I think jsoncpp gets found but the variables you are trying to use are not set

inv-kunal-bansal avatar Jun 19 '23 21:06 inv-kunal-bansal