summaryrefslogtreecommitdiff
path: root/cmake/FudConfig.cmake.in
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-23 07:36:16 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-23 07:36:16 -0500
commit0b860bb5dd6d2007db605291d239a6a9d41f57d1 (patch)
treefab140e03a3665236503d1405de9d33ba58ccc4a /cmake/FudConfig.cmake.in
parent7da829d48f9059c83ab9cada2c850621e8bbd3f3 (diff)
Installable library.
Diffstat (limited to 'cmake/FudConfig.cmake.in')
-rw-r--r--cmake/FudConfig.cmake.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/FudConfig.cmake.in b/cmake/FudConfig.cmake.in
new file mode 100644
index 0000000..9d08140
--- /dev/null
+++ b/cmake/FudConfig.cmake.in
@@ -0,0 +1,8 @@
+set(FOO_VERSION x.y.z)
+# ...
+@PACKAGE_INIT@
+# ...
+set_and_check(FUD_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
+set_and_check(FUD_SYSCONFIG_DIR "@PACKAGE_SYSCONFIG_INSTALL_DIR@")
+
+check_required_components(Fud)