Skip to content

Commit f8313cf

Browse files
authored
printf cmake var's value
1 parent 1a0e713 commit f8313cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmake/ProtoBuf.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ if(PROTOBUF_FOUND)
2727
unset(GOOGLE_PROTOBUF_VERSION)
2828
endif()
2929

30+
# printf cmake var's value
31+
message(STATUS "PROTOBUF_INCLUDE_DIR ====== ${PROTOBUF_INCLUDE_DIR}")
32+
message(STATUS "PROTOBUF_LIBRARIES ====== ${PROTOBUF_LIBRARIES}")
33+
message(STATUS "PROTOBUF_PROTOC_EXECUTABLE ====== ${PROTOBUF_PROTOC_EXECUTABLE}")
34+
35+
3036
# place where to generate protobuf sources
3137
set(proto_gen_folder "${PROJECT_BINARY_DIR}/include/caffe/proto")
3238
include_directories("${PROJECT_BINARY_DIR}/include")

0 commit comments

Comments
 (0)