To answer myself:
I just saw that you already set CMAKE_INSTALL_PREFIX, so ignore that
part of my answer. Unfortunately, as far as I am aware it is not
possible to split building with ExternalProject_Add into separate build
and install steps, so your options essentially boil down to:
1)
Am 23.05.2019 10:40 schrieb Steven Truppe:
i'm trying to compile llvm with ExternalProject_Add and get the
following error:
-- Installing: /usr/lib/ocaml/llvm/llvm.mli
CMake Error at bindings/ocaml/llvm/cmake_install.cmake:49 (file):
file INSTALL cannot copy file
Hi Steven,
I would assume the problem is that you do not have write permissions for
/usr/lib. You either need to give yourself the appropriate rights, our
run the build as root (which is probably a very bad idea). If you don't
want to actually install to /usr/lib, you can pass a different