freebsd-ports/net/libarcus/files/ArcusConfig.cmake.in
Matthieu Volat 7efae4b7a9 net/libarcus: needed for cura 5.7 update
- Upstream repository changed
- worked around changed build system
- protobuf fixes
2024-09-04 10:25:17 -04:00

10 lines
464 B
CMake

@PACKAGE_INIT@
# We want to have access to protobuf_generate_cpp and other FindProtobuf features.
# However, if ProtobufConfig is used instead, there is a CMake option that controls
# this, which defaults to OFF. We need to force this option to ON instead.
set(protobuf_MODULE_COMPATIBLE ON CACHE "" INTERNAL FORCE)
find_package(Protobuf 3.0.0 REQUIRED)
get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
include(${SELF_DIR}/Arcus-targets.cmake)