CMake is deleting the executable when installing. The executable is built and placed in the right directory, but CMake deletes the file when running cmake --install <folder>
.
Error thrown –
debian@vps-1cce9553:~/actions-runner/_work/horizon/horizon$ cmake --install build
-- Install configuration: "Release"
CMake Error at build/src/Server/Auth/cmake_install.cmake:61 (file):
file INSTALL cannot find
"/home/debian/actions-runner/_work/horizon/horizon/build/bin/auth": No such
file or directory.
Call Stack (most recent call first):
build/src/Server/cmake_install.cmake:48 (include)
build/src/cmake_install.cmake:50 (include)
build/cmake_install.cmake:47 (include)
Here’s a complete breakdown of the scenario –