From: Evandro Menezes Date: Mon, 25 Mar 2019 16:38:48 +0000 (+0000) Subject: [clang] Remove cmake warning message (NFC) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a24f0488377773a35bfc27e25a4f8ed01c9fe2b3;p=clang [clang] Remove cmake warning message (NFC) Recognize an empty string for CLANG_DEFAULT_UNWINDLIB as a valid option. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356920 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 39d8750cc2..4b26b288a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -276,7 +276,8 @@ if (CLANG_DEFAULT_UNWINDLIB STREQUAL "") 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 "libunwind")) message(WARNING "Resetting default unwindlib to use platform default")