cmake: Print the protobuf version that was found

This commit is contained in:
Robert Edmonds 2024-04-22 02:34:16 -04:00
parent b92dabc1a5
commit 035e780f6a

View File

@ -23,6 +23,7 @@ else()
MESSAGE(STATUS "Protobuf CMake config not found, falling back to Cmake Module")
FIND_PACKAGE(Protobuf REQUIRED)
endif()
MESSAGE(STATUS "Protobuf version: ${Protobuf_VERSION}")
file(REAL_PATH "${PROTOBUF_INCLUDE_DIR}" PROTOBUF_INCLUDE_DIR)
INCLUDE_DIRECTORIES(${PROTOBUF_INCLUDE_DIR})