Updated ELF relocation test for .eh_frame section
[oota-llvm.git] / CMakeLists.txt
index 84250298e0dea644bae9091e77ec8ce74cca1eb9..80c95a08bc67e7f8fb02e56be19d7b25b09a8d54 100644 (file)
@@ -1,7 +1,7 @@
 # See docs/CMake.html for instructions about how to build LLVM with CMake.
 
 project(LLVM)
-cmake_minimum_required(VERSION 2.8.6)
+cmake_minimum_required(VERSION 2.8)
 
 # Add path for custom modules
 set(CMAKE_MODULE_PATH
@@ -193,6 +193,9 @@ if( LLVM_USE_OPROFILE )
   endif( NOT CMAKE_SYSTEM_NAME MATCHES "Linux" )
 endif( LLVM_USE_OPROFILE )
 
+set(LLVM_USE_SANITIZER "" CACHE STRING
+  "Define the sanitizer used to build binaries and tests.")
+
 # Define an option controlling whether we should build for 32-bit on 64-bit
 # platforms, where supported.
 if( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 )