aboutsummaryrefslogtreecommitdiff
path: root/deps/inja/cmake/config/injaBuildConfig.cmake.in
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-04-27 11:23:17 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-04-27 11:23:17 +0200
commit36cc18d2b6d0eefd00a25a02bb4a407e700b5f9f (patch)
tree575b98e789934a2153a9063d1b91afb42dc27ef4 /deps/inja/cmake/config/injaBuildConfig.cmake.in
parentdd086a1608b0e3cd5565174225b8197792bad4b9 (diff)
parent514cb71a6a3e116c229c5dc874369f8632530dc7 (diff)
Merge commit '514cb71a6a3e116c229c5dc874369f8632530dc7' as 'deps/inja'
Diffstat (limited to 'deps/inja/cmake/config/injaBuildConfig.cmake.in')
-rw-r--r--deps/inja/cmake/config/injaBuildConfig.cmake.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/deps/inja/cmake/config/injaBuildConfig.cmake.in b/deps/inja/cmake/config/injaBuildConfig.cmake.in
new file mode 100644
index 0000000..ccbc2ae
--- /dev/null
+++ b/deps/inja/cmake/config/injaBuildConfig.cmake.in
@@ -0,0 +1,11 @@
+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")