mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-11-08 06:42:54 +01:00
STYLE: FATAL_ERROR ignored in cmake_required_minimum since 2.6.0
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
#
|
#
|
||||||
set(JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION "3.1.0")
|
set(JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION "3.1.0")
|
||||||
set(JSONCPP_NEWEST_VALIDATED_POLICIES_VERSION "3.13.1")
|
set(JSONCPP_NEWEST_VALIDATED_POLICIES_VERSION "3.13.1")
|
||||||
cmake_minimum_required(VERSION ${JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION} FATAL_ERROR)
|
cmake_minimum_required(VERSION ${JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION})
|
||||||
if("${CMAKE_VERSION}" VERSION_LESS_EQUAL "${JSONCPP_NEWEST_VALIDATED_POLICIES_VERSION}")
|
if("${CMAKE_VERSION}" VERSION_LESS_EQUAL "${JSONCPP_NEWEST_VALIDATED_POLICIES_VERSION}")
|
||||||
#Set and use the newest available cmake policies that are validated to work
|
#Set and use the newest available cmake policies that are validated to work
|
||||||
set(JSONCPP_CMAKE_POLICY_VERSION "${CMAKE_VERSION}")
|
set(JSONCPP_CMAKE_POLICY_VERSION "${CMAKE_VERSION}")
|
||||||
|
|||||||
Reference in New Issue
Block a user