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

fix CMake warnings when Zoltan is enabled #2345

Open
cz4rs opened this issue Sep 16, 2024 · 0 comments
Open

fix CMake warnings when Zoltan is enabled #2345

cz4rs opened this issue Sep 16, 2024 · 0 comments

Comments

@cz4rs
Copy link
Contributor

cz4rs commented Sep 16, 2024

gcc-9 build is getting this warning multiple times:

Call Stack (most recent call first):
  tests/CMakeLists.txt:84 (link_target_with_vt)
  tests/CMakeLists.txt:211 (add_unit_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/link_vt.cmake:80 (target_link_libraries):
  The library that is being linked to, zoltan, is marked as being deprecated
  by the owner.  The message provided by the developer is:

  WARNING: The non-namespaced target 'zoltan' is deprecated! If always using
  newer versions of the project 'Trilinos', then use the new namespaced
  target 'Zoltan::zoltan', or better yet, 'Zoltan::all_libs' to be less
  sensitive to changes in the definition of targets in the package 'Zoltan'.
  Or, to maintain compatibility with older or newer versions the project
  'Trilinos', instead link against the libraries specified by the variable
  'Zoltan_LIBRARIES'.

Check which of the suggested solutions is better in our case and apply it.

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

No branches or pull requests

1 participant