Article 6JZ3A Failure when compiling SBo rapidjson

Failure when compiling SBo rapidjson

by
aikempshall
from LinuxQuestions.org on (#6JZ3A)
Get this error

Quote:
CMake Deprecation Warning at example/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

-- Found GTestSrc: /usr/src/gtest
CMake Warning at /usr/src/gtest/CMakeLists.txt:50 (project):
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.
Why does the above refer to a CMakeLists.txt at

Quote:
/usr/src/gtest/CMakeLists.txt:50
rapidjson has a CMakeLists.txt which contains

Code:CMAKE_MINIMUM_REQUIRED(VERSION 2.8)I'm using cmake-3.21.4-x86_64-1
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments