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: src/Index.cmake
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
-
cmake_minimum_required(VERSION 3.24)
2
-
# 3.24 is required to make CheckIPOSupported prefer to honor the calling project's flags, see https://cmake.org/cmake/help/latest/policy/CMP0138.html
1
+
cmake_minimum_required(VERSION 3.20)
3
2
# 3.20 is required by the windows toolchain and cmake_path. It also has a more reliable building functionality.
4
3
# 3.18 required by package_project and interprocedural optimization. It also has a more reliable building functionality (no errors during the linking stage).
5
4
6
5
include_guard()
7
6
8
-
# fix DOWNLOAD_EXTRACT_TIMESTAMP warning in FetchContent
9
7
if(CMAKE_VERSIONVERSION_GREATER_EQUAL"3.24.0")
8
+
# fix DOWNLOAD_EXTRACT_TIMESTAMP warning in FetchContent
10
9
cmake_policy(SET CMP0135 NEW)
10
+
# make CheckIPOSupported prefer to honor the calling project's flags
0 commit comments