Fixed cmake generation warning for regeneration project build files.
authorEvgeny Proydakov <e.proydakov@gmail.com>
Thu, 18 Feb 2021 23:18:17 +0000 (02:18 +0300)
committerEvgeny Proydakov <e.proydakov@gmail.com>
Thu, 18 Feb 2021 23:18:17 +0000 (02:18 +0300)
commit31d234c1dae4fde5aea0bb1351b641d505f85b4b
tree8a01c0d56e39d2b9ab84e99a19ab0cf2847d664a
parente56beaee736863ce48455955158f1839e6e4c1a1
Fixed cmake generation warning for regeneration project build files.

[BEFORE]:

% cmake ..
CMake Warning (dev) at CMakeLists.txt:35 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    CMAKE_PROJECT_VERSION
    CMAKE_PROJECT_VERSION_MAJOR
    CMAKE_PROJECT_VERSION_MINOR
    CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

-- No build type selected, default to Debug
-- Found PythonInterp: /usr/local/bin/python3 (found version "3.9")
-- Found PythonInterp: /usr/local/bin/python3 (found suitable version "3.9", minimum required is "3")
-- optimizer enabled
-- Google Mock found - building tests
-- Configuring done

[AFTER]:

% cmake ..
-- No build type selected, default to Debug
-- Google Mock was not found - tests based on that will not build
-- Configuring done
-- Generating done
CMakeLists.txt