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:
parent
912ca14bb6
commit
2a7df20a2c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user