[clang] Remove cmake warning message (NFC)

Recognize an empty string for CLANG_DEFAULT_UNWINDLIB as a valid option.

llvm-svn: 356920
This commit is contained in:
Evandro Menezes 2019-03-25 16:38:48 +00:00
parent 1f44814952
commit 7e8476ddfa
1 changed files with 2 additions and 1 deletions

View File

@ -276,7 +276,8 @@ if (CLANG_DEFAULT_UNWINDLIB STREQUAL "")
endif() endif()
endif() endif()
if (NOT(CLANG_DEFAULT_UNWINDLIB STREQUAL "none" OR if (NOT(CLANG_DEFAULT_UNWINDLIB STREQUAL "" OR
CLANG_DEFAULT_UNWINDLIB STREQUAL "none" OR
CLANG_DEFAULT_UNWINDLIB STREQUAL "libgcc" OR CLANG_DEFAULT_UNWINDLIB STREQUAL "libgcc" OR
CLANG_DEFAULT_UNWINDLIB STREQUAL "libunwind")) CLANG_DEFAULT_UNWINDLIB STREQUAL "libunwind"))
message(WARNING "Resetting default unwindlib to use platform default") message(WARNING "Resetting default unwindlib to use platform default")