aboutsummaryrefslogtreecommitdiff
path: root/deps/inja/cmake/config/injaConfig.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'deps/inja/cmake/config/injaConfig.cmake.in')
-rw-r--r--deps/inja/cmake/config/injaConfig.cmake.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/deps/inja/cmake/config/injaConfig.cmake.in b/deps/inja/cmake/config/injaConfig.cmake.in
new file mode 100644
index 0000000..ea81ef6
--- /dev/null
+++ b/deps/inja/cmake/config/injaConfig.cmake.in
@@ -0,0 +1,12 @@
+@PACKAGE_INIT@
+set(INJA_VERSION "@PROJECT_VERSION@")
+
+set(INJA_PACKAGE_USE_EMBEDDED_JSON "@INJA_PACKAGE_USE_EMBEDDED_JSON@")
+
+include(CMakeFindDependencyMacro)
+
+if(NOT INJA_PACKAGE_USE_EMBEDDED_JSON)
+ find_dependency(nlohmann_json REQUIRED)
+endif()
+
+include("${CMAKE_CURRENT_LIST_DIR}/injaTargets.cmake")