[llvm] r356297 - [CMake] Correct CMake message mode

Alex Langford via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 15 13:43:54 PDT 2019


Author: xiaobai
Date: Fri Mar 15 13:43:53 2019
New Revision: 356297

URL: http://llvm.org/viewvc/llvm-project?rev=356297&view=rev
Log:
[CMake] Correct CMake message mode

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

Reviewers: zturner

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D59432

Modified:
    llvm/trunk/cmake/modules/AddLLVM.cmake

Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=356297&r1=356296&r2=356297&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Fri Mar 15 13:43:53 2019
@@ -1311,7 +1311,7 @@ function(get_llvm_lit_path base_dir file
         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()




More information about the llvm-commits mailing list