1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-04 15:30:01 +00:00

Report root path and version of Abseil if found

This commit is contained in:
Carles Fernandez 2024-11-11 22:35:00 +01:00
parent 912ca14bb6
commit 2a7df20a2c
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -1477,6 +1477,9 @@ if(NOT CMAKE_VERSION VERSION_LESS 3.24
set_package_properties(absl PROPERTIES
DESCRIPTION "A collection of C++ library code designed to augment the C++ standard library (found: v${absl_VERSION})"
)
get_target_property(ABSL_BASE_LIBRARY absl::base INTERFACE_INCLUDE_DIRECTORIES)
get_filename_component(ABSL_ROOT_PATH "${ABSL_BASE_LIBRARY}" DIRECTORY)
message(STATUS "Found Abseil C++ libraries installed at ${ABSL_ROOT_PATH} (found version: v${absl_VERSION})")
else()
set_package_properties(absl PROPERTIES
DESCRIPTION "A collection of C++ library code designed to augment the C++ standard library"