Closed ronytigo closed 1 year ago
when running sudo cmake --install . from the build directory I get:
sudo cmake --install .
CMake Error at cpr/cmake_install.cmake:46 (file): file INSTALL cannot find "/home/user/myproject/cpr/build/cpr/CMakeFiles/CMakeRelink.dir/libcpr.so.1.11.0": No such file or directory. Call Stack (most recent call first): cmake_install.cmake:47 (include)
run sudo cmake --install . from the build directory
No response
GitHub (branch e.g. master)
Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy
the cpr/build/lib directory is empty
cpr/build/lib
@ronytigo thanks for reporting this. I will have a look at it on the weekend.
OK, adding sudo to the other commands and not just the last one, solved it.
Description
when running
sudo cmake --install .
from the build directory I get:Example/How to Reproduce
run
sudo cmake --install .
from the build directoryPossible Fix
No response
Where did you get it from?
GitHub (branch e.g. master)
Additional Context/Your Environment
Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy