diff options
author | Alexey Samsonov <samsonov@google.com> | 2014-02-19 11:18:47 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2014-02-19 11:18:47 +0000 |
commit | 1d4c8d7699fd0148de9d916d06aa2952db4f5254 (patch) | |
tree | 5d061d0c94df4f4f27c767900cb96026a661eef6 /lib | |
parent | 0a5efc3fcc9024a59081195e78682603197eec3d (diff) |
[CMake] Introduce COMPILER_RT_INCLUDE_TESTS option
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/asan/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/msan/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/sanitizer_common/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/tsan/CMakeLists.txt | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/asan/CMakeLists.txt b/lib/asan/CMakeLists.txt index 813e55ace..4f4aefa57 100644 --- a/lib/asan/CMakeLists.txt +++ b/lib/asan/CMakeLists.txt @@ -135,6 +135,6 @@ add_compiler_rt_resource_file(asan_blacklist asan_blacklist.txt) add_dependencies(asan asan_blacklist) add_dependencies(compiler-rt asan) -if(LLVM_INCLUDE_TESTS) +if(COMPILER_RT_INCLUDE_TESTS) add_subdirectory(tests) endif() diff --git a/lib/msan/CMakeLists.txt b/lib/msan/CMakeLists.txt index 76a122e94..d12275dd0 100644 --- a/lib/msan/CMakeLists.txt +++ b/lib/msan/CMakeLists.txt @@ -37,6 +37,6 @@ add_compiler_rt_resource_file(msan_blacklist msan_blacklist.txt) add_dependencies(msan msan_blacklist) add_dependencies(compiler-rt msan) -if(LLVM_INCLUDE_TESTS) +if(COMPILER_RT_INCLUDE_TESTS) add_subdirectory(tests) endif() diff --git a/lib/sanitizer_common/CMakeLists.txt b/lib/sanitizer_common/CMakeLists.txt index 75f4fcc0a..c62776d31 100644 --- a/lib/sanitizer_common/CMakeLists.txt +++ b/lib/sanitizer_common/CMakeLists.txt @@ -137,6 +137,6 @@ endif() add_dependencies(compiler-rt sanitizer_common) # Unit tests for common sanitizer runtime. -if(LLVM_INCLUDE_TESTS) +if(COMPILER_RT_INCLUDE_TESTS) add_subdirectory(tests) endif() diff --git a/lib/tsan/CMakeLists.txt b/lib/tsan/CMakeLists.txt index 5b1ceb187..6678ebc07 100644 --- a/lib/tsan/CMakeLists.txt +++ b/lib/tsan/CMakeLists.txt @@ -73,6 +73,6 @@ endif() add_dependencies(compiler-rt tsan) -if(LLVM_INCLUDE_TESTS) +if(COMPILER_RT_INCLUDE_TESTS) add_subdirectory(tests) endif() |