summaryrefslogtreecommitdiff
path: root/cmake/FudConfig.cmake.in
diff options
context:
space:
mode:
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)