Skip to content

Specify directory when running cmake

Eyal Soha requested to merge eyal/kdiff3:eyal-master-patch-83368 into master

cmake alone didn't work for me. The error was:

# cmake
Usage

  cmake [options] <path-to-source>
  cmake [options] <path-to-existing-build>
  cmake [options] -S <path-to-source> -B <path-to-build>

Specify a source directory to (re-)generate a build system for it in the
current working directory.  Specify an existing build directory to
re-generate its build system.

Run 'cmake --help' for more information.

Changing it to cmake . worked.

Merge request reports