Skip to content

Commit 3eefb86

Browse files
giladreichSiegeLord
authored andcommitted
Remove FATAL_ERROR from cmake_minimum_required.
From cmake docs: "The FATAL_ERROR option is accepted but ignored by CMake 2.6 and higher. It should be specified so CMake versions 2.4 and lower fail with an error instead of just a warning." Therefore this is no longer apply for cmake v3.0.
1 parent 884f974 commit 3eefb86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# - some documentation targets still missing
66
# - installing documentation
77
#
8-
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
8+
cmake_minimum_required(VERSION 3.0)
99
if(COMMAND cmake_policy)
1010
cmake_policy(SET CMP0003 NEW)
1111
if(POLICY CMP0026)

0 commit comments

Comments
 (0)