diff options
author | costan <costan@google.com> | 2018-03-21 09:26:49 -0700 |
---|---|---|
committer | Victor Costan <pwnall@chromium.org> | 2018-03-21 09:40:40 -0700 |
commit | 04f39105c5a418905da8b7657ca244d672c99d3b (patch) | |
tree | 927bd1554894576b5a7dee29d6acce1e207dff91 /CMakeLists.txt | |
parent | 74f032ff6f2465160366d865b1bb89a45dc2046b (diff) | |
download | leveldb-04f39105c5a418905da8b7657ca244d672c99d3b.tar.gz |
Take <atomic> for granted in port/atomic_pointer.h.
C++11 requires <atomic>. This lets us remove the header detection
(LEVELDB_ATOMIC_PRESENT) and simplify port/atomic_pointer.h.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=189919098
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f7c36a..ca43d7e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,9 +25,6 @@ test_big_endian(LEVELDB_IS_BIG_ENDIAN) include(CheckIncludeFile) check_include_file("unistd.h" HAVE_UNISTD_H) -include(CheckIncludeFileCXX) -check_include_file_cxx("atomic" LEVELDB_ATOMIC_PRESENT) - include(CheckLibraryExists) check_library_exists(crc32c crc32c_value "" HAVE_CRC32C) check_library_exists(snappy snappy_compress "" HAVE_SNAPPY) |