Skip to content

Commit

Permalink
Warn users about third_party abseil usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thelta committed Sep 17, 2023
1 parent f80fa1c commit 0b3eb71
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/Findabsl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0b3eb71

Please sign in to comment.