We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e7cbf8 commit 392b7c5Copy full SHA for 392b7c5
CMakeLists.txt
@@ -14,7 +14,7 @@
14
#
15
set(JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION "3.1.0")
16
set(JSONCPP_NEWEST_VALIDATED_POLICIES_VERSION "3.13.1")
17
-cmake_minimum_required(VERSION ${JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION} FATAL_ERROR)
+cmake_minimum_required(VERSION ${JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION})
18
if("${CMAKE_VERSION}" VERSION_LESS_EQUAL "${JSONCPP_NEWEST_VALIDATED_POLICIES_VERSION}")
19
#Set and use the newest available cmake policies that are validated to work
20
set(JSONCPP_CMAKE_POLICY_VERSION "${CMAKE_VERSION}")
0 commit comments