Skip to content

Commit 392b7c5

Browse files
committed
STYLE: FATAL_ERROR ignored in cmake_required_minimum since 2.6.0
1 parent 6e7cbf8 commit 392b7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515
set(JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION "3.1.0")
1616
set(JSONCPP_NEWEST_VALIDATED_POLICIES_VERSION "3.13.1")
17-
cmake_minimum_required(VERSION ${JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION} FATAL_ERROR)
17+
cmake_minimum_required(VERSION ${JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION})
1818
if("${CMAKE_VERSION}" VERSION_LESS_EQUAL "${JSONCPP_NEWEST_VALIDATED_POLICIES_VERSION}")
1919
#Set and use the newest available cmake policies that are validated to work
2020
set(JSONCPP_CMAKE_POLICY_VERSION "${CMAKE_VERSION}")

0 commit comments

Comments
 (0)