diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-11-18 19:53:45 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-11-18 19:53:45 +0000 |
commit | 60479ea31b2b4cabc35c38bf1e8e32289121e6b0 (patch) | |
tree | f5bbccb8b1faf2b3d0505e7118127d5fc28a4ac7 /CMakeLists.txt | |
parent | d3b197fcb52b5e525fe589d8067753353dd3f438 (diff) |
Make LIBCXX_ENABLE_STATIC_ABI_LIBRARY merge libc++.a and libc++abi.a
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@287373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c708968d..d40257a2c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -251,6 +251,9 @@ if (LIBCXX_ENABLE_STATIC_ABI_LIBRARY) else() message(WARNING "LIBCXX_ENABLE_STATIC_ABI_LIBRARY is an experimental option") endif() + if (LIBCXX_ENABLE_STATIC AND NOT PYTHONINTERP_FOUND) + message(FATAL_ERROR "LIBCXX_ENABLE_STATIC_ABI_LIBRARY requires python but it was not found.") + endif() endif() if (LIBCXX_ENABLE_ABI_LINKER_SCRIPT) |