r356920 - [clang] Remove cmake warning message (NFC)

Evandro Menezes via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 25 09:38:49 PDT 2019


Author: evandro
Date: Mon Mar 25 09:38:48 2019
New Revision: 356920

URL: http://llvm.org/viewvc/llvm-project?rev=356920&view=rev
Log:
[clang] Remove cmake warning message (NFC)

Recognize an empty string for CLANG_DEFAULT_UNWINDLIB as a valid option.

Modified:
    cfe/trunk/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=356920&r1=356919&r2=356920&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Mon Mar 25 09:38:48 2019
@@ -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")




More information about the cfe-commits mailing list