# EngineConfig.cmake.in # Template pour la configuration d'export des engines Warfactory @PACKAGE_INIT@ # Warfactory Engine Configuration # Generated automatically by CMake include(CMakeFindDependencyMacro) # Dependencies required by this engine find_dependency(nlohmann_json 3.11.0) find_dependency(spdlog 1.12.0) # Redis++ might be optional depending on engine find_dependency(redis-plus-plus QUIET) if(NOT redis-plus-plus_FOUND) message(STATUS "Redis++ not found, inter-engine communication disabled") endif() # Include targets file include("${CMAKE_CURRENT_LIST_DIR}/@target_name@Targets.cmake") # Verify that all targets were created check_required_components(@target_name@) # Set convenience variables set(@target_name@_LIBRARIES Warfactory::@target_name@-lib) set(@target_name@_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include") # Version information set(@target_name@_VERSION_MAJOR 1) set(@target_name@_VERSION_MINOR 0) set(@target_name@_VERSION_PATCH 0) set(@target_name@_VERSION "${@target_name@_VERSION_MAJOR}.${@target_name@_VERSION_MINOR}.${@target_name@_VERSION_PATCH}") message(STATUS "Found Warfactory Engine: @target_name@ v${@target_name@_VERSION}")