$ cmake ../
-- The C compiler identification is GNU 15.2.1
-- The CXX compiler identification is GNU 15.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:4 (cmake_policy):
Policy CMP0053 may not be set to OLD behavior because this version of CMake
no longer supports it. The policy was introduced in CMake version 3.1.0,
and use of NEW behavior is now required.
Please either update your CMakeLists.txt files to conform to the new
behavior or use an older version of CMake that still supports the old
behavior. Run cmake --help-policy CMP0053 for more information.
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.5.1")
-- Found git: /usr/bin/git
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at cmake/Version.cmake:136 (message):
git describe failed with code 128:
Call Stack (most recent call first):
CMakeLists.txt:10 (include)
CMake Error at cmake/Version.cmake:141 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:10 (include)
CMake Error at cmake/Version.cmake:145 (message):
Failed to parse git revision string ''
Call Stack (most recent call first):
CMakeLists.txt:10 (include)
-- Configuring incomplete, errors occurred!