[CMake] Introduce LLVM_BUILD_EXTERNAL_COMPILER_RT option
[oota-llvm.git] / CMakeLists.txt
index 6c16afaeb59a031296056209addf35ae45b1b197..72901c88768bdd0dbc6cbc6a8640f14e532b6d69 100644 (file)
@@ -287,6 +287,9 @@ option (LLVM_BUILD_DOCS "Build the llvm documentation." OFF)
 option (LLVM_INCLUDE_DOCS "Generate build targets for llvm documentation." ON)
 option (LLVM_ENABLE_DOXYGEN "Use doxygen to generate llvm documentation." OFF)
 
+option (LLVM_BUILD_EXTERNAL_COMPILER_RT
+  "Build compiler-rt as an external project." OFF)
+
 # All options referred to from HandleLLVMOptions have to be specified
 # BEFORE this include, otherwise options will not be correctly set on
 # first cmake run