Skip to content

Warning from CMake #1035

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

Closed
WarrenWeckesser opened this issue Jul 5, 2024 · 1 comment · Fixed by #1036
Closed

Warning from CMake #1035

WarrenWeckesser opened this issue Jul 5, 2024 · 1 comment · Fixed by #1036

Comments

@WarrenWeckesser
Copy link
Contributor

WarrenWeckesser commented Jul 5, 2024

When I use the steps shown in README.md (under "Install from sources"), I get this warning from CMake:

CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.

I get the warning with CMake version 3.22.1 and 3.30.0.

(This is on a Linux system.)

@WarrenWeckesser
Copy link
Contributor Author

It looks like a simple fix is to add . at the end of the recommended cmake command:

cmake -D CMAKE_INSTALL_PREFIX=your_install_prefix .

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

Successfully merging a pull request may close this issue.

1 participant