mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-04-28 02:33:28 +02:00
STYLE: FATAL_ERROR ignored in cmake_required_minimum since 2.6.0
This commit is contained in:
parent
b9ed29a221
commit
deb6cca214
@ -14,7 +14,7 @@
|
||||
#
|
||||
set(JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION "3.1.0")
|
||||
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}")
|
||||
#Set and use the newest available cmake policies that are validated to work
|
||||
set(JSONCPP_CMAKE_POLICY_VERSION "${CMAKE_VERSION}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user