1234567891011121314 |
- include(CMakeFindDependencyMacro)
- # We only look for protoc, libprotoc should already be in rpath or linked statically
- set(_save_cmake_module_path "${CMAKE_MODULE_PATH}")
- set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
- find_package(WrapProtobuf COMPONENTS Generator REQUIRED)
- set(CMAKE_MODULE_PATH "${_save_cmake_module_path}")
- if(NOT TARGET @QT_PROTOBUF_NAMESPACE@::@target@)
- include("${CMAKE_CURRENT_LIST_DIR}/@target_export@.cmake")
- endif()
- @PACKAGE_INIT@
- include("${CMAKE_CURRENT_LIST_DIR}/QtProtobufGen.cmake")
|