aboutsummaryrefslogtreecommitdiff
path: root/cfront/cmake/modules/CFrontConfig.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'cfront/cmake/modules/CFrontConfig.cmake.in')
-rw-r--r--cfront/cmake/modules/CFrontConfig.cmake.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/cfront/cmake/modules/CFrontConfig.cmake.in b/cfront/cmake/modules/CFrontConfig.cmake.in
new file mode 100644
index 0000000..3b1a800
--- /dev/null
+++ b/cfront/cmake/modules/CFrontConfig.cmake.in
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+@PACKAGE_INIT@
+
+include(CMakeFindDependencyMacro)
+find_dependency(RCC @RCC_VERSION@ EXACT CONFIG HINTS "@CFRONT_PACKAGE_RCC_CMAKE_DIR@")
+set(CFRONT_CMAKE_DIR "@CFRONT_PACKAGE_MODULE_DIR@")
+include("${CMAKE_CURRENT_LIST_DIR}/CFrontTargets.cmake")