• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if(NOT trout_PROTOBUF_ROOT_DIR)
2    set(trout_PROTOBUF_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/protobuf)
3endif()
4
5if(EXISTS "${trout_PROTOBUF_ROOT_DIR}/cmake/CMakeLists.txt")
6  set(_trout_PROTOBUF_WELLKNOWN_INCLUDE_DIR "${trout_PROTOBUF_ROOT_DIR}/src")
7else()
8  message(FATAL_ERROR "${trout_PROTOBUF_ROOT_DIR}/cmake/CMakeLists.txt not found")
9endif()
10
11