mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
13 lines
526 B
Diff
13 lines
526 B
Diff
--- /dev/null
|
|
+++ ./ArcusConfig.cmake.in
|
|
@@ -0,0 +1,10 @@
|
|
+@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 REQUIRED)
|
|
+
|
|
+get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
+include(${SELF_DIR}/Arcus-targets.cmake)
|