diff options
Diffstat (limited to 'cmake/config/injaBuildConfig.cmake.in')
-rw-r--r-- | cmake/config/injaBuildConfig.cmake.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/config/injaBuildConfig.cmake.in b/cmake/config/injaBuildConfig.cmake.in new file mode 100644 index 0000000..ccbc2ae --- /dev/null +++ b/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") |