From 84c2322897f18181a2ff1e25dffd1f4288635f5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?At=C4=B1lhan=20Emre=20Dursuno=C4=9Flu?= Date: Sun, 17 Sep 2023 15:03:14 +0300 Subject: [PATCH] Warn users about third_party abseil usage. --- cmake/Findabsl.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/Findabsl.cmake b/cmake/Findabsl.cmake index e66134b1fbc..7a1f5726676 100644 --- a/cmake/Findabsl.cmake +++ b/cmake/Findabsl.cmake @@ -12,7 +12,11 @@ if(absl_FOUND) return() endif() -message("Abseil not found via find_package. Probably not a Conan build. Using the copy from third_party/") +message(WARNING "To ensure Abseil is built with C++17 support, + it will be built from third_party folder. + If your system already has Abseil installed with C++17 support, + you can specify the Abseil configuration directory + by setting the absl_DIR variable as a cmake argument.") set(ABSL_PROPAGATE_CXX_STD ON) add_subdirectory(${CMAKE_SOURCE_DIR}/third_party/abseil-cpp)