File tree Expand file tree Collapse file tree 3 files changed +12
-18
lines changed Expand file tree Collapse file tree 3 files changed +12
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,7 +15,18 @@ if(NOT LLVM_NO_INSTALL_NAME_DIR_FOR_BUILD_TREE)
15
15
set (CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON )
16
16
endif ()
17
17
18
- include (${LLVM_COMMON_CMAKE_UTILS} /Modules/LLVMVersion.cmake )
18
+ if (NOT DEFINED LLVM_VERSION_MAJOR )
19
+ set (LLVM_VERSION_MAJOR 19 )
20
+ endif ()
21
+ if (NOT DEFINED LLVM_VERSION_MINOR )
22
+ set (LLVM_VERSION_MINOR 0 )
23
+ endif ()
24
+ if (NOT DEFINED LLVM_VERSION_PATCH )
25
+ set (LLVM_VERSION_PATCH 0 )
26
+ endif ()
27
+ if (NOT DEFINED LLVM_VERSION_SUFFIX )
28
+ set (LLVM_VERSION_SUFFIX git )
29
+ endif ()
19
30
20
31
set_directory_properties (PROPERTIES LLVM_VERSION_MAJOR "${LLVM_VERSION_MAJOR} " )
21
32
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ set(LLVM_COMMON_CMAKE_UTILS "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
6
6
include (${LLVM_COMMON_CMAKE_UTILS} /Modules/CMakePolicy.cmake
7
7
NO_POLICY_SCOPE )
8
8
9
- include (${LLVM_COMMON_CMAKE_UTILS} /Modules/LLVMVersion.cmake )
10
-
11
9
project (Runtimes C CXX ASM )
12
10
13
11
list (INSERT CMAKE_MODULE_PATH 0
You can’t perform that action at this time.
0 commit comments