diff options
author | Shoaib Meenai <smeenai@fb.com> | 2017-10-04 23:51:57 +0000 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2017-10-04 23:51:57 +0000 |
commit | f7e90638610f7cdf6208c0990799835ed341cab9 (patch) | |
tree | 909463e1b167655d774b510aaa81813bde8af6d5 /CMakeLists.txt | |
parent | 36d0ee6c87d3a32a3bd406806e330b13a6ce3133 (diff) |
[libc++] Move cache variable definition. NFC
Move it to where the other ABI cache variables/options are defined.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@314950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ccf4b969b..ea323af3f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,6 +101,7 @@ set(LIBCXX_ABI_VERSION 1 CACHE STRING "ABI version of libc++.") option(LIBCXX_ABI_UNSTABLE "Unstable ABI of libc++." OFF) option(LIBCXX_ABI_ITANIUM "Ignore auto-detection and force use of the Itanium ABI.") option(LIBCXX_ABI_MICROSOFT "Ignore auto-detection and force use of the Microsoft ABI.") +set(LIBCXX_ABI_DEFINES "" CACHE STRING "A semicolon separated list of ABI macros to define in the site config header.") option(LIBCXX_USE_COMPILER_RT "Use compiler-rt instead of libgcc" OFF) if (NOT LIBCXX_ENABLE_SHARED AND NOT LIBCXX_ENABLE_STATIC) @@ -615,7 +616,6 @@ config_define_if(LIBCXX_HAS_EXTERNAL_THREAD_API _LIBCPP_HAS_THREAD_API_EXTERNAL) config_define_if(LIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY _LIBCPP_HAS_THREAD_LIBRARY_EXTERNAL) config_define_if(LIBCXX_HAS_MUSL_LIBC _LIBCPP_HAS_MUSL_LIBC) -set(LIBCXX_ABI_DEFINES "" CACHE STRING "A semicolon separated list of ABI macros to define in the site config header") if (LIBCXX_ABI_DEFINES) set(abi_defines) foreach (abi_define ${LIBCXX_ABI_DEFINES}) |