From a24f0488377773a35bfc27e25a4f8ed01c9fe2b3 Mon Sep 17 00:00:00 2001 From: Evandro Menezes Date: Mon, 25 Mar 2019 16:38:48 +0000 Subject: [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 --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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") -- cgit v1.2.1