Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated CMake target used for mongo-cxx-driver #1

Open
awvwgk opened this issue Jun 30, 2022 · 1 comment
Open

Deprecated CMake target used for mongo-cxx-driver #1

awvwgk opened this issue Jun 30, 2022 · 1 comment

Comments

@awvwgk
Copy link

awvwgk commented Jun 30, 2022

Using mongo-cxx-driver 3.6.7 the following warning is raised in the configure step

CMake Warning at /home/conda/staged-recipes/build_artifacts/scine-database_1656618507957/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/cmake/libmongocxx-3.6.7/libmongocxx-config.cmake:15 (message):
  This CMake target is deprecated.  Use 'mongo::mongocxx_shared' instead.
  Consult the example projects for further details.
Call Stack (most recent call first):
  dev/cmake/ImportMongoCxx.cmake:9 (find_package)
  src/Database/CMakeLists.txt:10 (import_mongocxx)


CMake Warning at /home/conda/staged-recipes/build_artifacts/scine-database_1656618507957/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/cmake/libbsoncxx-3.6.7/libbsoncxx-config.cmake:15 (message):
  This CMake target is deprecated.  Use 'mongo::bsoncxx_shared' instead.
  Consult the example projects for further details.
Call Stack (most recent call first):
  /home/conda/staged-recipes/build_artifacts/scine-database_1656618507957/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/cmake/libmongocxx-3.6.7/libmongocxx-config.cmake:22 (find_package)
  dev/cmake/ImportMongoCxx.cmake:9 (find_package)
  src/Database/CMakeLists.txt:10 (import_mongocxx)


@weymutht
Copy link
Member

weymutht commented Jul 1, 2022

Thanks a lot for reporting this. We are already aware of it and will eventually update our code. For now, you can safely ignore this warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants