projects/aports·blob master · refs

13 lines · 526 B

1--- /dev/null
2+++ ./ArcusConfig.cmake.in
3@@ -0,0 +1,10 @@
4+@PACKAGE_INIT@
5+
6+# We want to have access to protobuf_generate_cpp and other FindProtobuf features.
7+# However, if ProtobufConfig is used instead, there is a CMake option that controls
8+# this, which defaults to OFF. We need to force this option to ON instead.
9+set(protobuf_MODULE_COMPATIBLE ON CACHE "" INTERNAL FORCE)
10+find_package(Protobuf REQUIRED)
11+
12+get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
13+include(${SELF_DIR}/Arcus-targets.cmake)