Skip to content

cmake (3.22.0) resolution of runtime dependencies does not work

When running make install (openPASS 0.8.1.) cmake quits with the following error:

/usr/local/bin/cmake -P cmake_install.cmake
-- Install configuration: "Debug"
-- Resolving runtime dependencies...
CMake Error at cmake_install.cmake:49 (file):
  file unknown error.       

The error seems to come from install_deps.cmake::69, which is executed to collect runtime dependencies. Unfortunately, turning runtime collection of (cmake -DINSTALL_EXTRA_RUNTIME_DEPS=OFF and/or cmake -DINSTALL_SYSTEM_RUNTIME_DEPS=OFF) does not help.

There is already a related stack-overflow issue (https://stackoverflow.com/a/64009154/7063154), which suggests that the issue comes with an update of cmake >= version 3.21.

Further investigations are necessary.