Skip to content

wrong version in catalyst-conduit-targets.cmake if `CATALYST_WITH_EXTERNAL_CONDUIT=ON` is used

When building Catalyst using CATALYST_WITH_EXTERNAL_CONDUIT=ON with Conduit 0.8.8
the file lib64/cmake/catalyst-2.0/catalyst-conduit-targets.cmake shows

include(CMakeFindDependencyMacro)
find_dependency(Conduit 0.8.7)

I expected it would be instead

include(CMakeFindDependencyMacro)
find_dependency(Conduit 0.8.8) <--!

P.S:
The output of cmake shows that Conduit 0.8.8 was found at build time:

-- Found Conduit: /p/software/juwels/stages/2024/software/Conduit/0.8.8-gompi-2023a (found version 0.8.8)
-- CONDUIT_VERSION             = 0.8.8
-- CONDUIT_INSTALL_PREFIX      = /p/software/juwels/stages/2024/software/Conduit/0.8.8-gompi-2023a
-- CONDUIT_IMPORT_ROOT         = /p/software/juwels/stages/2024/software/Conduit/0.8.8-gompi-2023a
-- CONDUIT_USE_CXX11           = TRUE
-- CONDUIT_USE_FMT             = TRUE
-- CONDUIT_INCLUDE_DIRS        = /p/software/juwels/stages/2024/software/Conduit/0.8.8-gompi-2023a/include/conduit
-- CONDUIT_FORTRAN_ENABLED     = TRUE
-- CONDUIT_PYTHON_ENABLED      = TRUE
-- CONDUIT_PYTHON_EXECUTABLE   = /p/software/juwels/stages/2024/software/Python/3.11.3-GCCcore-12.3.0/bin/python
-- CONDUIT_PYTHON_MODULE_DIR   = /p/software/juwels/stages/2024/software/Conduit/0.8.8-gompi-2023a/lib/python3.11/site-packages