protobuf-config.cmake.in 717 B

12345678910111213141516171819
  1. # Version info variables
  2. set(PROTOBUF_VERSION "@protobuf_VERSION@")
  3. set(PROTOBUF_VERSION_STRING "@protobuf_VERSION_STRING@")
  4. # Imported targets
  5. include("${CMAKE_CURRENT_LIST_DIR}/protobuf-targets.cmake")
  6. # Compute the installation prefix relative to this file.
  7. get_filename_component(_PROTOBUF_IMPORT_PREFIX
  8. "${_PROTOBUF_PACKAGE_PREFIX}" PATH)
  9. get_filename_component(_PROTOBUF_IMPORT_PREFIX
  10. "${_PROTOBUF_IMPORT_PREFIX}" PATH)
  11. get_filename_component(_PROTOBUF_IMPORT_PREFIX
  12. "${_PROTOBUF_IMPORT_PREFIX}" PATH)
  13. # CMake FindProtobuf module compatible file
  14. if(NOT DEFINED PROTOBUF_MODULE_COMPATIBLE OR "${PROTOBUF_MODULE_COMPATIBLE}")
  15. include("${_PROTOBUF_PACKAGE_PREFIX}/protobuf-module.cmake")
  16. endif()