Build breaks with cmake-3.24.0: install into a stage directory is broken #3348
Closed
Description
Describe the bug
After cmake was upgraded from 3.23.3 to 3.24.0 adios2-2.8.3 now breaks:
-- Found adios2: /wrkdirs/usr/ports/misc/adios2/work/stage/usr/local/lib/cmake/adios2/adios2-config.cmake (found version "2.8.3") found components: C CXX MPI
CMake Error at CMakeLists.txt:9 (find_package):
Found package configuration file:
/wrkdirs/usr/ports/misc/adios2/work/stage/usr/local/lib/cmake/adios2/adios2-config.cmake
but it set adios2_FOUND to FALSE so package "adios2" is considered to be
NOT FOUND. Reason given by package:
The following imported targets are referenced, but are missing: ffs::ffs
clang-14
OS: FreeBSD 13.1