From: Alex Langford Date: Fri, 15 Mar 2019 20:43:53 +0000 (+0000) Subject: [CMake] Correct CMake message mode X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ac90b8ba1b321c7ebc4f2fc1ae495d834aaadf5;p=platform%2Fupstream%2Fllvm.git [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 llvm-svn: 356297 --- diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 7325cac..e72680c 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -1311,7 +1311,7 @@ function(get_llvm_lit_path base_dir file_name) 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()