Closed jbeich closed 10 months ago
Downstream packaging may use different build directory than CI, not necessarily under source directory.
$ cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/tmp/hyprlang_prefix -B /tmp/hyprlang_build $ cmake --build /tmp/hyprlang_build $ cmake --install /tmp/hyprlang_build -- Install configuration: "" -- Installing: /tmp/hyprlang_prefix/lib/libhyprlang.so -- Installing: /tmp/hyprlang_prefix/include/hyprlang.hpp -- Up-to-date: /tmp/hyprlang_prefix/lib/libhyprlang.so -- Up-to-date: /tmp/hyprlang_prefix/include/hyprlang.hpp CMake Error at /tmp/hyprlang_build/cmake_install.cmake:95 (file): file INSTALL cannot find "/tmp/hyprlang/build/hyprlang.pc": No such file or directory.
Downstream packaging may use different build directory than CI, not necessarily under source directory.