diff --git a/cmake/spdlogConfig.cmake.in b/cmake/spdlogConfig.cmake.in index 89aaab5a..1b85b9e0 100644 --- a/cmake/spdlogConfig.cmake.in +++ b/cmake/spdlogConfig.cmake.in @@ -6,9 +6,10 @@ find_package(Threads REQUIRED) set(SPDLOG_FMT_EXTERNAL @SPDLOG_FMT_EXTERNAL@) +set(SPDLOG_FMT_EXTERNAL_HO @SPDLOG_FMT_EXTERNAL_HO@) set(config_targets_file @config_targets_file@) -if(SPDLOG_FMT_EXTERNAL) +if(SPDLOG_FMT_EXTERNAL OR SPDLOG_FMT_EXTERNAL_HO) include(CMakeFindDependencyMacro) find_dependency(fmt CONFIG) endif() @@ -16,4 +17,4 @@ endif() include("${CMAKE_CURRENT_LIST_DIR}/${config_targets_file}") -check_required_components(spdlog) \ No newline at end of file +check_required_components(spdlog)