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
This commit is contained in:
Dan Albert 2015-02-10 18:46:57 +00:00
parent 47b9a9a286
commit f42a8e6003

View File

@ -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()