mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2025-01-14 01:07:57 +08:00
cmake: Print the protobuf version that was found
This commit is contained in:
parent
b92dabc1a5
commit
035e780f6a
@ -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})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user