File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
# See docs/CMake.html for instructions about how to build LLVM with CMake.
2
2
3
- cmake_minimum_required (VERSION 3.14 )
3
+ cmake_minimum_required (VERSION 3.13.4 )
4
4
5
5
# CMP0116: Ninja generators transform `DEPFILE`s from `add_custom_command()`
6
6
# New in CMake 3.20. https://cmake.org/cmake/help/latest/policy/CMP0116.html
Original file line number Diff line number Diff line change
1
+ if (${CMAKE_VERSION} VERSION_LESS 3.14 )
2
+ macro (FetchContent_MakeAvailable NAME )
3
+ FetchContent_GetProperties (${NAME} )
4
+ if (NOT ${NAME} _POPULATED )
5
+ FetchContent_Populate (${NAME} )
6
+ add_subdirectory (${${NAME}_SOURCE_DIR} ${${NAME}_BINARY_DIR} )
7
+ endif ()
8
+ endmacro ()
9
+ endif ()
10
+
1
11
# Lowering of SYCL ESIMD kernels depends on vc-intrinsics
2
12
# NOTE: could have been added earlier from llvm/projects
3
13
if (NOT TARGET LLVMGenXIntrinsics )
You can’t perform that action at this time.
0 commit comments