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

Ominous CMake Warning #314

Open
wavefunction91 opened this issue Oct 14, 2021 · 0 comments
Open

Ominous CMake Warning #314

wavefunction91 opened this issue Oct 14, 2021 · 0 comments
Labels

Comments

@wavefunction91
Copy link
Contributor

I've been getting the following with CMake 3.20+

CMake Warning (dev) at src/CMakeLists.txt:259 (add_library):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  File:

    /global/cfs/projectdirs/m1027/dbwy/TA/new/tiledarray/src/TiledArray/config.h.in
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at src/CMakeLists.txt:259 (add_library):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  File:

    /global/cfs/projectdirs/m1027/dbwy/TA/new/tiledarray/src/TiledArray/version.h.in
This warning is for project developers.  Use -Wno-dev to suppress it.

This is (obviously?) not consequential as everything seems to work as expected on generate / install, but would it be worth it to figure out a way to pacify it in case is does become consequential in a later CMake version?

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

No branches or pull requests

1 participant