When I try to include mongo using
find_package(libmongocxx REQUIRED)
find_package(libbsoncxx REQUIRED)
All I get is >
This CMake target is deprecated. Use 'mongo::mongocxx_shared' instead.
Consult the example projects for further details.
This CMake target is deprecated. Use 'mongo::bsoncxx_shared' instead.
Consult the example projects for further details.
How should I properly include mongo? I'm a bit lost.
A note, I can include it and it "works" but I'd like to do it "properly".