-
- Downloads
build: Fix spdlog issues and bump version to 1.12.0
There have been CMake issues: spdlog was used in multiple export sets which created CMake issues for the imagefusion target. It seems, FetchContent_MakeAvailable defines an export set, so the additional export set has been removed and it is still working. When spdlog is not installed, is works through FetchContent. But, if it is installed, it is likely using the external fmt library for formatting. This gave a compile error in logging.h when including the bundled ranges.h. So we use the same macro to decide whether to use the bundled file or the external one. Usually it should be enough to include spdlog/format/ranges.h and this would include the right file, but unfortunately this very file might be missing as well in a pre-build package. This fixes the conda-build, but using the package from Ubuntu 22.04 (spdlog 1.9.2) still fails, since spdlog is imcompatible with fmt. The version has been updated to current releast 1.12.0.
Please register or sign in to comment