From f11148a77c1f387158fe43f3203d47402aee557f Mon Sep 17 00:00:00 2001 From: alexey-milovidov Date: Fri, 1 May 2020 16:44:49 +0300 Subject: [PATCH] Trigger CI --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e20d91efc5..b5d72ee967a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -239,12 +239,16 @@ if (COMPILER_CLANG) if (LLVM_AR_PATH) message(STATUS "Using llvm-ar: ${LLVM_AR_PATH}.") set (CMAKE_AR ${LLVM_AR_PATH}) + else () + message(WARNING "Cannot find llvm-ar. System ar will be used instead. It does not work with ThinLTO.") endif () find_program (LLVM_RANLIB_PATH NAMES "llvm-ranlib" "llvm-ranlib-10" "llvm-ranlib-9" "llvm-ranlib-8") if (LLVM_RANLIB_PATH) message(STATUS "Using llvm-ranlib: ${LLVM_RANLIB_PATH}.") set (CMAKE_RANLIB ${LLVM_RANLIB_PATH}) + else () + message(WARNING "Cannot find llvm-ranlib. System ranlib will be used instead. It does not work with ThinLTO.") endif () endif ()