xtensor-stack/xsimd

Warning from CMake

WarrenWeckesser opened this issue · 1 comments

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.)

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 .