-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
bugbuild or testingcmake, meson, continuous integration, or testing relatedcmake, meson, continuous integration, or testing related
Description
Older versions of cmake, according to documentation: https://cmake.org/cmake/help/v3.5/command/if.html , do not know VERSION_LESS_EQUAL, just VERSION_LESS.
This leads to errors:
CMake Error at somewhere/jsoncpp/CMakeLists.txt:18 (if):
if given arguments:
"3.5.1" "VERSION_LESS_EQUAL" "3.13.1"
Unknown arguments specified
This is the offending line:
Line 18 in 21a4185
| if("${CMAKE_VERSION}" VERSION_LESS_EQUAL "${JSONCPP_NEWEST_VALIDATED_POLICIES_VERSION}") |
Cmake 3.7 seems to be the first version to support VERSION_LESS_EQUAL.
Metadata
Metadata
Assignees
Labels
bugbuild or testingcmake, meson, continuous integration, or testing relatedcmake, meson, continuous integration, or testing related