You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+1-7Lines changed: 1 addition & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
# SPDX-License-Identifier: Apache-2.0.
3
3
#
4
4
5
-
cmake_minimum_required (VERSION3.1)
5
+
cmake_minimum_required (VERSION3.12FATAL_ERROR)
6
6
if(POLICYCMP0056)
7
7
cmake_policy(SETCMP0056NEW) # CMP0056: Honor link flags in try_compile() source-file signature. Introduced in 3.2
8
8
endif()
@@ -13,12 +13,6 @@ if (POLICY CMP0077)
13
13
cmake_policy(SETCMP0077OLD) # CMP0077: option() honors normal variables. Introduced in 3.13
14
14
endif()
15
15
16
-
# 3.12 or higher is strongly suggested; build settings (target_compile_options/etc...) sometimes do not get propagated properly under certain conditions prior to this version
17
-
# Making this a hard requirement is potentially disruptive to existing customers who aren't affected by the bad behavior though, so just warn for now
18
-
if(CMAKE_VERSIONVERSION_LESS3.12)
19
-
message(WARNING"Building with CMake 3.12 or higher is strongly suggested; current version is ${CMAKE_VERSION}")
0 commit comments