[CMake][GlobalISel] Turn LLVM_BUILD_GLOBAL_ISEL into an option. NFC.
Previously LLVM_BUILD_GLOBAL_ISEL was a boolean variable and although, this is strictly identical to an option, it did not convey the information that the user may set it. Options are here for that. llvm-svn: 276306
This commit is contained in:
parent
19df8a1aba
commit
c8df88c9b5
|
|
@ -77,7 +77,7 @@ if(LLVM_PARALLEL_COMPILE_JOBS)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
set(LLVM_BUILD_GLOBAL_ISEL OFF CACHE BOOL "Experimental: Build GlobalISel")
|
||||
option(LLVM_BUILD_GLOBAL_ISEL "Experimental: Build GlobalISel" OFF)
|
||||
if(LLVM_BUILD_GLOBAL_ISEL)
|
||||
add_definitions(-DLLVM_BUILD_GLOBAL_ISEL)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue