[PATCH] D59432: [CMake] Correct CMake message mode

Alex Langford via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 15 13:21:32 PDT 2019


xiaobai created this revision.
xiaobai added a reviewer: zturner.
Herald added a subscriber: mgorny.
Herald added a project: LLVM.

This wasn't actually printing out a CMake warning, it was prepending
"WARN" to the message.


Repository:
  rL LLVM

https://reviews.llvm.org/D59432

Files:
  cmake/modules/AddLLVM.cmake


Index: cmake/modules/AddLLVM.cmake
===================================================================
--- cmake/modules/AddLLVM.cmake
+++ cmake/modules/AddLLVM.cmake
@@ -1311,7 +1311,7 @@
         set(${base_dir} ${LIT_BASE_DIR} PARENT_SCOPE)
         return()
       else()
-        message(WARN "LLVM_EXTERNAL_LIT set to ${LLVM_EXTERNAL_LIT}, but the path does not exist.")
+        message(WARNING "LLVM_EXTERNAL_LIT set to ${LLVM_EXTERNAL_LIT}, but the path does not exist.")
       endif()
     endif()
   endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59432.190889.patch
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190315/a9ce2d4a/attachment.bin>


More information about the llvm-commits mailing list