The guide for building SFML with cmake
https://www.sfml-dev.org/tutorials/2.5/compile-with-cmake.php seems to be focused on Windows.
What I've tried so far:
$ cmake ./build
CMake Error: The source directory "/home/ingmar/src/SFML/build" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
$ mkdir build
$ cmake ./build
CMake Error: The source directory "/home/ingmar/src/SFML/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Should I just just move CMakeLists.txt to build? Will pathes in there still be correct?
Running cmake . does work, but the guide explicitly suggest to specify a build folder. How do I do that?