summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-10 18:46:57 +0000
committerDan Albert <danalbert@google.com>2015-02-10 18:46:57 +0000
commitf42a8e60031049f5571582fd4191b8445d69db67 (patch)
tree90e9164e954d45c90a2ca67d8bc999178a9106cd /cmake
parent47b9a9a2869532b41bd45d36dbca7d7d457e20ac (diff)
Make ABI header not found a warning, not an error.
Since we've added a new header to libc++abi (__cxxabi_config.h), we now have a case where we might not always find all the ABI headers: building libc++ against the system's libc++abi on Darwin. Since this isn't actually a fatal error, degrade it to a warning. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@228720 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/HandleLibCXXABI.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/HandleLibCXXABI.cmake b/cmake/Modules/HandleLibCXXABI.cmake
index b71ebb958..8c04244b7 100644
--- a/cmake/Modules/HandleLibCXXABI.cmake
+++ b/cmake/Modules/HandleLibCXXABI.cmake
@@ -49,7 +49,7 @@ macro(setup_abi_lib abipathvar abidefines abilib abifiles abidirs)
endif()
endforeach()
if (NOT found)
- message(FATAL_ERROR "Failed to find ${fpath}")
+ message(WARNING "Failed to find ${fpath}")
endif()
endforeach()