23 lines
531 B
CMake
23 lines
531 B
CMake
# User options
|
|
include("${CMAKE_CURRENT_LIST_DIR}/protobuf-options.cmake")
|
|
|
|
# Depend packages
|
|
|
|
if(NOT TARGET absl::strings)
|
|
find_package(absl CONFIG)
|
|
endif()
|
|
if(NOT TARGET utf8_range::utf8_range)
|
|
find_package(utf8_range CONFIG)
|
|
endif()
|
|
|
|
# Imported targets
|
|
include("${CMAKE_CURRENT_LIST_DIR}/protobuf-targets.cmake")
|
|
|
|
# protobuf-generate function
|
|
include("${CMAKE_CURRENT_LIST_DIR}/protobuf-generate.cmake")
|
|
|
|
# CMake FindProtobuf module compatible file
|
|
if(1)
|
|
include("${CMAKE_CURRENT_LIST_DIR}/protobuf-module.cmake")
|
|
endif()
|