From 5ac90b8ba1b321c7ebc4f2fc1ae495d834aaadf5 Mon Sep 17 00:00:00 2001 From: Alex Langford Date: Fri, 15 Mar 2019 20:43:53 +0000 Subject: [PATCH] [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 --- llvm/cmake/modules/AddLLVM.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.7.4