[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:
Quentin Colombet 2016-07-21 17:26:45 +00:00
parent 19df8a1aba
commit c8df88c9b5
1 changed files with 1 additions and 1 deletions

View File

@ -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()